1.1 --- a/src/share/vm/runtime/thread.cpp Fri Feb 26 16:40:55 2010 -0500 1.2 +++ b/src/share/vm/runtime/thread.cpp Tue Mar 02 12:09:40 2010 -0800 1.3 @@ -1637,6 +1637,9 @@ 1.4 JNIHandleBlock::release_block(block); 1.5 } 1.6 1.7 + // These have to be removed while this is still a valid thread. 1.8 + remove_stack_guard_pages(); 1.9 + 1.10 if (UseTLAB) { 1.11 tlab().make_parsable(true); // retire TLAB, if any 1.12 }