src/hotspot/share/classfile/javaClasses.cpp
changeset 54795 fd08f5a976e6
parent 54786 ebf733a324d4
child 54847 59ea39bb2809
equal deleted inserted replaced
54794:019b3db480f4 54795:fd08f5a976e6
  1736 jlong java_lang_Thread::thread_id(oop java_thread) {
  1736 jlong java_lang_Thread::thread_id(oop java_thread) {
  1737   return java_thread->long_field(_tid_offset);
  1737   return java_thread->long_field(_tid_offset);
  1738 }
  1738 }
  1739 
  1739 
  1740 oop java_lang_Thread::park_blocker(oop java_thread) {
  1740 oop java_lang_Thread::park_blocker(oop java_thread) {
  1741   assert(JDK_Version::current().supports_thread_park_blocker(),
       
  1742          "Must support parkBlocker field");
       
  1743 
       
  1744   return java_thread->obj_field(_park_blocker_offset);
  1741   return java_thread->obj_field(_park_blocker_offset);
  1745 }
  1742 }
  1746 
  1743 
  1747 const char* java_lang_Thread::thread_status_name(oop java_thread) {
  1744 const char* java_lang_Thread::thread_status_name(oop java_thread) {
  1748   ThreadStatus status = (java_lang_Thread::ThreadStatus)java_thread->int_field(_thread_status_offset);
  1745   ThreadStatus status = (java_lang_Thread::ThreadStatus)java_thread->int_field(_thread_status_offset);