src/hotspot/share/runtime/thread.hpp
changeset 51530 1f0b605bdc28
parent 51511 eb8d5aeabab3
child 51548 35a6956f4243
equal deleted inserted replaced
51529:a716460217ed 51530:1f0b605bdc28
    61 class ThreadSafepointState;
    61 class ThreadSafepointState;
    62 class ThreadsList;
    62 class ThreadsList;
    63 class ThreadsSMRSupport;
    63 class ThreadsSMRSupport;
    64 
    64 
    65 class JvmtiThreadState;
    65 class JvmtiThreadState;
    66 class JvmtiGetLoadedClassesClosure;
       
    67 class ThreadStatistics;
    66 class ThreadStatistics;
    68 class ConcurrentLocksDump;
    67 class ConcurrentLocksDump;
    69 class ParkEvent;
    68 class ParkEvent;
    70 class Parker;
    69 class Parker;
    71 
    70 
  1883   // one or it allocates a new JvmtiThreadState for the JavaThread and
  1882   // one or it allocates a new JvmtiThreadState for the JavaThread and
  1884   // returns it. JvmtiThreadState::state_for() will return NULL only if
  1883   // returns it. JvmtiThreadState::state_for() will return NULL only if
  1885   // the specified JavaThread is exiting.
  1884   // the specified JavaThread is exiting.
  1886   JvmtiThreadState *jvmti_thread_state() const                                   { return _jvmti_thread_state; }
  1885   JvmtiThreadState *jvmti_thread_state() const                                   { return _jvmti_thread_state; }
  1887   static ByteSize jvmti_thread_state_offset()                                    { return byte_offset_of(JavaThread, _jvmti_thread_state); }
  1886   static ByteSize jvmti_thread_state_offset()                                    { return byte_offset_of(JavaThread, _jvmti_thread_state); }
  1888   void set_jvmti_get_loaded_classes_closure(JvmtiGetLoadedClassesClosure* value) { _jvmti_get_loaded_classes_closure = value; }
       
  1889   JvmtiGetLoadedClassesClosure* get_jvmti_get_loaded_classes_closure() const     { return _jvmti_get_loaded_classes_closure; }
       
  1890 
  1887 
  1891   // JVMTI PopFrame support
  1888   // JVMTI PopFrame support
  1892   // Setting and clearing popframe_condition
  1889   // Setting and clearing popframe_condition
  1893   // All of these enumerated values are bits. popframe_pending
  1890   // All of these enumerated values are bits. popframe_pending
  1894   // indicates that a PopFrame() has been requested and not yet been
  1891   // indicates that a PopFrame() has been requested and not yet been
  1936   void  popframe_free_preserved_args();
  1933   void  popframe_free_preserved_args();
  1937 
  1934 
  1938 
  1935 
  1939  private:
  1936  private:
  1940   JvmtiThreadState *_jvmti_thread_state;
  1937   JvmtiThreadState *_jvmti_thread_state;
  1941   JvmtiGetLoadedClassesClosure* _jvmti_get_loaded_classes_closure;
       
  1942 
  1938 
  1943   // Used by the interpreter in fullspeed mode for frame pop, method
  1939   // Used by the interpreter in fullspeed mode for frame pop, method
  1944   // entry, method exit and single stepping support. This field is
  1940   // entry, method exit and single stepping support. This field is
  1945   // only set to non-zero by the VM_EnterInterpOnlyMode VM operation.
  1941   // only set to non-zero by the VM_EnterInterpOnlyMode VM operation.
  1946   // It can be set to zero asynchronously (i.e., without a VM operation
  1942   // It can be set to zero asynchronously (i.e., without a VM operation