diff -r 0386097d43d8 -r ea20d7ce26b0 src/share/vm/prims/jvmtiThreadState.hpp --- a/src/share/vm/prims/jvmtiThreadState.hpp Mon Mar 02 13:57:17 2009 -0700 +++ b/src/share/vm/prims/jvmtiThreadState.hpp Mon Mar 02 14:00:23 2009 -0700 @@ -314,6 +314,7 @@ void update_for_pop_top_frame(); // already holding JvmtiThreadState_lock - retrieve or create JvmtiThreadState + // Can return NULL if JavaThread is exiting. inline static JvmtiThreadState *state_for_while_locked(JavaThread *thread) { assert(JvmtiThreadState_lock->is_locked(), "sanity check"); @@ -330,6 +331,7 @@ } // retrieve or create JvmtiThreadState + // Can return NULL if JavaThread is exiting. inline static JvmtiThreadState *state_for(JavaThread *thread) { JvmtiThreadState *state = thread->jvmti_thread_state(); if (state == NULL) {