< prev index next >

src/hotspot/share/runtime/vmStructs.cpp

Print this page
@@ -98,10 +98,11 @@
  #include "runtime/javaCalls.hpp"
  #include "runtime/javaThread.hpp"
  #include "runtime/jniHandles.hpp"
  #include "runtime/monitorDeflationThread.hpp"
  #include "runtime/notificationThread.hpp"
+ #include "runtime/objectMonitor.hpp"
  #include "runtime/os.hpp"
  #include "runtime/osThread.hpp"
  #include "runtime/perfMemory.hpp"
  #include "runtime/serviceThread.hpp"
  #include "runtime/sharedRuntime.hpp"

@@ -666,10 +667,11 @@
    nonstatic_field(JavaThread,                  _stack_base,                                   address)                               \
    nonstatic_field(JavaThread,                  _stack_size,                                   size_t)                                \
    nonstatic_field(JavaThread,                  _vframe_array_head,                            vframeArray*)                          \
    nonstatic_field(JavaThread,                  _vframe_array_last,                            vframeArray*)                          \
    nonstatic_field(JavaThread,                  _active_handles,                               JNIHandleBlock*)                       \
+   nonstatic_field(JavaThread,                  _lock_id,                                      int64_t)                               \
    volatile_nonstatic_field(JavaThread,         _terminated,                                   JavaThread::TerminatedTypes)           \
    nonstatic_field(Thread,                      _resource_area,                                ResourceArea*)                         \
    nonstatic_field(CompilerThread,              _env,                                          ciEnv*)                                \
                                                                                                                                       \
    /************/                                                                                                                     \

@@ -788,10 +790,11 @@
    /************/                                                                                                                     \
                                                                                                                                       \
    volatile_nonstatic_field(ObjectMonitor,      _header,                                       markWord)                              \
    unchecked_nonstatic_field(ObjectMonitor,     _object,                                       sizeof(void *)) /* NOTE: no type */    \
    unchecked_nonstatic_field(ObjectMonitor,     _owner,                                        sizeof(void *)) /* NOTE: no type */    \
+   unchecked_nonstatic_field(ObjectMonitor,     _stack_locker,                                 BasicLock*)                            \
    volatile_nonstatic_field(ObjectMonitor,      _next_om,                                      ObjectMonitor*)                        \
    volatile_nonstatic_field(BasicLock,          _displaced_header,                             markWord)                              \
    nonstatic_field(ObjectMonitor,               _contentions,                                  int)                                   \
    volatile_nonstatic_field(ObjectMonitor,      _waiters,                                      int)                                   \
    volatile_nonstatic_field(ObjectMonitor,      _recursions,                                   intx)                                  \
< prev index next >