hotspot/src/share/vm/prims/jvmtiEnv.cpp
changeset 10969 3ecf25293e5a
parent 10565 dc90c239f4ec
child 11399 5dd5c4dd4b7d
equal deleted inserted replaced
10968:6f5d19d76c93 10969:3ecf25293e5a
   171     // the thread to _thread_in_vm. However, when the TLS for a thread
   171     // the thread to _thread_in_vm. However, when the TLS for a thread
   172     // other than the current thread is required we need to transition
   172     // other than the current thread is required we need to transition
   173     // from native so as to resolve the jthread.
   173     // from native so as to resolve the jthread.
   174 
   174 
   175     ThreadInVMfromNative __tiv(current_thread);
   175     ThreadInVMfromNative __tiv(current_thread);
   176     __ENTRY(jvmtiError, JvmtiEnv::GetThreadLocalStorage , current_thread)
   176     VM_ENTRY_BASE(jvmtiError, JvmtiEnv::GetThreadLocalStorage , current_thread)
   177     debug_only(VMNativeEntryWrapper __vew;)
   177     debug_only(VMNativeEntryWrapper __vew;)
   178 
   178 
   179     oop thread_oop = JNIHandles::resolve_external_guard(thread);
   179     oop thread_oop = JNIHandles::resolve_external_guard(thread);
   180     if (thread_oop == NULL) {
   180     if (thread_oop == NULL) {
   181       return JVMTI_ERROR_INVALID_THREAD;
   181       return JVMTI_ERROR_INVALID_THREAD;