< prev index next >

src/hotspot/share/runtime/vmStructs.cpp

Print this page

  83 #include "oops/objArrayOop.hpp"
  84 #include "oops/oop.inline.hpp"
  85 #include "oops/oopHandle.hpp"
  86 #include "oops/resolvedFieldEntry.hpp"
  87 #include "oops/resolvedIndyEntry.hpp"
  88 #include "oops/resolvedMethodEntry.hpp"
  89 #include "oops/symbol.hpp"
  90 #include "oops/typeArrayKlass.hpp"
  91 #include "oops/typeArrayOop.hpp"
  92 #include "prims/jvmtiAgentThread.hpp"
  93 #include "runtime/arguments.hpp"
  94 #include "runtime/deoptimization.hpp"
  95 #include "runtime/flags/jvmFlag.hpp"
  96 #include "runtime/globals.hpp"
  97 #include "runtime/java.hpp"
  98 #include "runtime/javaCalls.hpp"
  99 #include "runtime/javaThread.hpp"
 100 #include "runtime/jniHandles.hpp"
 101 #include "runtime/monitorDeflationThread.hpp"
 102 #include "runtime/notificationThread.hpp"

 103 #include "runtime/os.hpp"
 104 #include "runtime/osThread.hpp"
 105 #include "runtime/perfMemory.hpp"
 106 #include "runtime/serviceThread.hpp"
 107 #include "runtime/sharedRuntime.hpp"
 108 #include "runtime/stubRoutines.hpp"
 109 #include "runtime/synchronizer.hpp"
 110 #include "runtime/threadSMR.hpp"
 111 #include "runtime/vframeArray.hpp"
 112 #include "runtime/vmStructs.hpp"
 113 #include "runtime/vm_version.hpp"
 114 #include "services/attachListener.hpp"
 115 #include "utilities/globalDefinitions.hpp"
 116 #include "utilities/macros.hpp"
 117 #include "utilities/vmError.hpp"
 118 #ifdef COMPILER2
 119 #include "opto/addnode.hpp"
 120 #include "opto/block.hpp"
 121 #include "opto/callnode.hpp"
 122 #include "opto/castnode.hpp"

 651   nonstatic_field(JavaThread,                  _jvmti_vthread,                                OopHandle)                             \
 652   nonstatic_field(JavaThread,                  _scopedValueCache,                              OopHandle)                             \
 653   nonstatic_field(JavaThread,                  _anchor,                                       JavaFrameAnchor)                       \
 654   nonstatic_field(JavaThread,                  _vm_result,                                    oop)                                   \
 655   nonstatic_field(JavaThread,                  _vm_result_2,                                  Metadata*)                             \
 656   volatile_nonstatic_field(JavaThread,         _current_pending_monitor,                      ObjectMonitor*)                        \
 657   nonstatic_field(JavaThread,                  _current_pending_monitor_is_from_java,         bool)                                  \
 658   volatile_nonstatic_field(JavaThread,         _current_waiting_monitor,                      ObjectMonitor*)                        \
 659   volatile_nonstatic_field(JavaThread,         _suspend_flags,                                uint32_t)                              \
 660   volatile_nonstatic_field(JavaThread,         _exception_oop,                                oop)                                   \
 661   volatile_nonstatic_field(JavaThread,         _exception_pc,                                 address)                               \
 662   volatile_nonstatic_field(JavaThread,         _is_method_handle_return,                      int)                                   \
 663   nonstatic_field(JavaThread,                  _saved_exception_pc,                           address)                               \
 664   volatile_nonstatic_field(JavaThread,         _thread_state,                                 JavaThreadState)                       \
 665   nonstatic_field(JavaThread,                  _osthread,                                     OSThread*)                             \
 666   nonstatic_field(JavaThread,                  _stack_base,                                   address)                               \
 667   nonstatic_field(JavaThread,                  _stack_size,                                   size_t)                                \
 668   nonstatic_field(JavaThread,                  _vframe_array_head,                            vframeArray*)                          \
 669   nonstatic_field(JavaThread,                  _vframe_array_last,                            vframeArray*)                          \
 670   nonstatic_field(JavaThread,                  _active_handles,                               JNIHandleBlock*)                       \

 671   volatile_nonstatic_field(JavaThread,         _terminated,                                   JavaThread::TerminatedTypes)           \
 672   nonstatic_field(Thread,                      _resource_area,                                ResourceArea*)                         \
 673   nonstatic_field(CompilerThread,              _env,                                          ciEnv*)                                \
 674                                                                                                                                      \
 675   /************/                                                                                                                     \
 676   /* OSThread */                                                                                                                     \
 677   /************/                                                                                                                     \
 678                                                                                                                                      \
 679   volatile_nonstatic_field(OSThread,           _state,                                        ThreadState)                           \
 680                                                                                                                                      \
 681   /************************/                                                                                                         \
 682   /* ImmutableOopMap      */                                                                                                         \
 683   /************************/                                                                                                         \
 684                                                                                                                                      \
 685   nonstatic_field(ImmutableOopMapSet,          _count,                                        int)                                   \
 686   nonstatic_field(ImmutableOopMapSet,          _size,                                         int)                                   \
 687                                                                                                                                      \
 688   nonstatic_field(ImmutableOopMapPair,         _pc_offset,                                    int)                                   \
 689   nonstatic_field(ImmutableOopMapPair,         _oopmap_offset,                                int)                                   \
 690                                                                                                                                      \

 773   nonstatic_field(ciField,                     _is_constant,                                  bool)                                  \
 774   nonstatic_field(ciField,                     _constant_value,                               ciConstant)                            \
 775                                                                                                                                      \
 776   nonstatic_field(ciObjectFactory,             _ci_metadata,                                  GrowableArray<ciMetadata*>)            \
 777   nonstatic_field(ciObjectFactory,             _symbols,                                      GrowableArray<ciSymbol*>)              \
 778                                                                                                                                      \
 779   nonstatic_field(ciConstant,                  _type,                                         BasicType)                             \
 780   nonstatic_field(ciConstant,                  _value._int,                                   jint)                                  \
 781   nonstatic_field(ciConstant,                  _value._long,                                  jlong)                                 \
 782   nonstatic_field(ciConstant,                  _value._float,                                 jfloat)                                \
 783   nonstatic_field(ciConstant,                  _value._double,                                jdouble)                               \
 784   nonstatic_field(ciConstant,                  _value._object,                                ciObject*)                             \
 785                                                                                                                                      \
 786   /************/                                                                                                                     \
 787   /* Monitors */                                                                                                                     \
 788   /************/                                                                                                                     \
 789                                                                                                                                      \
 790   volatile_nonstatic_field(ObjectMonitor,      _header,                                       markWord)                              \
 791   unchecked_nonstatic_field(ObjectMonitor,     _object,                                       sizeof(void *)) /* NOTE: no type */    \
 792   unchecked_nonstatic_field(ObjectMonitor,     _owner,                                        sizeof(void *)) /* NOTE: no type */    \

 793   volatile_nonstatic_field(ObjectMonitor,      _next_om,                                      ObjectMonitor*)                        \
 794   volatile_nonstatic_field(BasicLock,          _displaced_header,                             markWord)                              \
 795   nonstatic_field(ObjectMonitor,               _contentions,                                  int)                                   \
 796   volatile_nonstatic_field(ObjectMonitor,      _waiters,                                      int)                                   \
 797   volatile_nonstatic_field(ObjectMonitor,      _recursions,                                   intx)                                  \
 798   nonstatic_field(BasicObjectLock,             _lock,                                         BasicLock)                             \
 799   nonstatic_field(BasicObjectLock,             _obj,                                          oop)                                   \
 800   static_field(ObjectSynchronizer,             _in_use_list,                                  MonitorList)                           \
 801   volatile_nonstatic_field(MonitorList,        _head,                                         ObjectMonitor*)                        \
 802                                                                                                                                      \
 803   /*********************/                                                                                                            \
 804   /* Matcher (C2 only) */                                                                                                            \
 805   /*********************/                                                                                                            \
 806                                                                                                                                      \
 807   unchecked_c2_static_field(Matcher,           _regEncode,                          sizeof(Matcher::_regEncode)) /* NOTE: no type */ \
 808                                                                                                                                      \
 809   c2_nonstatic_field(Node,                     _in,                                           Node**)                                \
 810   c2_nonstatic_field(Node,                     _out,                                          Node**)                                \
 811   c2_nonstatic_field(Node,                     _cnt,                                          node_idx_t)                            \
 812   c2_nonstatic_field(Node,                     _max,                                          node_idx_t)                            \

  83 #include "oops/objArrayOop.hpp"
  84 #include "oops/oop.inline.hpp"
  85 #include "oops/oopHandle.hpp"
  86 #include "oops/resolvedFieldEntry.hpp"
  87 #include "oops/resolvedIndyEntry.hpp"
  88 #include "oops/resolvedMethodEntry.hpp"
  89 #include "oops/symbol.hpp"
  90 #include "oops/typeArrayKlass.hpp"
  91 #include "oops/typeArrayOop.hpp"
  92 #include "prims/jvmtiAgentThread.hpp"
  93 #include "runtime/arguments.hpp"
  94 #include "runtime/deoptimization.hpp"
  95 #include "runtime/flags/jvmFlag.hpp"
  96 #include "runtime/globals.hpp"
  97 #include "runtime/java.hpp"
  98 #include "runtime/javaCalls.hpp"
  99 #include "runtime/javaThread.hpp"
 100 #include "runtime/jniHandles.hpp"
 101 #include "runtime/monitorDeflationThread.hpp"
 102 #include "runtime/notificationThread.hpp"
 103 #include "runtime/objectMonitor.hpp"
 104 #include "runtime/os.hpp"
 105 #include "runtime/osThread.hpp"
 106 #include "runtime/perfMemory.hpp"
 107 #include "runtime/serviceThread.hpp"
 108 #include "runtime/sharedRuntime.hpp"
 109 #include "runtime/stubRoutines.hpp"
 110 #include "runtime/synchronizer.hpp"
 111 #include "runtime/threadSMR.hpp"
 112 #include "runtime/vframeArray.hpp"
 113 #include "runtime/vmStructs.hpp"
 114 #include "runtime/vm_version.hpp"
 115 #include "services/attachListener.hpp"
 116 #include "utilities/globalDefinitions.hpp"
 117 #include "utilities/macros.hpp"
 118 #include "utilities/vmError.hpp"
 119 #ifdef COMPILER2
 120 #include "opto/addnode.hpp"
 121 #include "opto/block.hpp"
 122 #include "opto/callnode.hpp"
 123 #include "opto/castnode.hpp"

 652   nonstatic_field(JavaThread,                  _jvmti_vthread,                                OopHandle)                             \
 653   nonstatic_field(JavaThread,                  _scopedValueCache,                              OopHandle)                             \
 654   nonstatic_field(JavaThread,                  _anchor,                                       JavaFrameAnchor)                       \
 655   nonstatic_field(JavaThread,                  _vm_result,                                    oop)                                   \
 656   nonstatic_field(JavaThread,                  _vm_result_2,                                  Metadata*)                             \
 657   volatile_nonstatic_field(JavaThread,         _current_pending_monitor,                      ObjectMonitor*)                        \
 658   nonstatic_field(JavaThread,                  _current_pending_monitor_is_from_java,         bool)                                  \
 659   volatile_nonstatic_field(JavaThread,         _current_waiting_monitor,                      ObjectMonitor*)                        \
 660   volatile_nonstatic_field(JavaThread,         _suspend_flags,                                uint32_t)                              \
 661   volatile_nonstatic_field(JavaThread,         _exception_oop,                                oop)                                   \
 662   volatile_nonstatic_field(JavaThread,         _exception_pc,                                 address)                               \
 663   volatile_nonstatic_field(JavaThread,         _is_method_handle_return,                      int)                                   \
 664   nonstatic_field(JavaThread,                  _saved_exception_pc,                           address)                               \
 665   volatile_nonstatic_field(JavaThread,         _thread_state,                                 JavaThreadState)                       \
 666   nonstatic_field(JavaThread,                  _osthread,                                     OSThread*)                             \
 667   nonstatic_field(JavaThread,                  _stack_base,                                   address)                               \
 668   nonstatic_field(JavaThread,                  _stack_size,                                   size_t)                                \
 669   nonstatic_field(JavaThread,                  _vframe_array_head,                            vframeArray*)                          \
 670   nonstatic_field(JavaThread,                  _vframe_array_last,                            vframeArray*)                          \
 671   nonstatic_field(JavaThread,                  _active_handles,                               JNIHandleBlock*)                       \
 672   nonstatic_field(JavaThread,                  _lock_id,                                      int64_t)                               \
 673   volatile_nonstatic_field(JavaThread,         _terminated,                                   JavaThread::TerminatedTypes)           \
 674   nonstatic_field(Thread,                      _resource_area,                                ResourceArea*)                         \
 675   nonstatic_field(CompilerThread,              _env,                                          ciEnv*)                                \
 676                                                                                                                                      \
 677   /************/                                                                                                                     \
 678   /* OSThread */                                                                                                                     \
 679   /************/                                                                                                                     \
 680                                                                                                                                      \
 681   volatile_nonstatic_field(OSThread,           _state,                                        ThreadState)                           \
 682                                                                                                                                      \
 683   /************************/                                                                                                         \
 684   /* ImmutableOopMap      */                                                                                                         \
 685   /************************/                                                                                                         \
 686                                                                                                                                      \
 687   nonstatic_field(ImmutableOopMapSet,          _count,                                        int)                                   \
 688   nonstatic_field(ImmutableOopMapSet,          _size,                                         int)                                   \
 689                                                                                                                                      \
 690   nonstatic_field(ImmutableOopMapPair,         _pc_offset,                                    int)                                   \
 691   nonstatic_field(ImmutableOopMapPair,         _oopmap_offset,                                int)                                   \
 692                                                                                                                                      \

 775   nonstatic_field(ciField,                     _is_constant,                                  bool)                                  \
 776   nonstatic_field(ciField,                     _constant_value,                               ciConstant)                            \
 777                                                                                                                                      \
 778   nonstatic_field(ciObjectFactory,             _ci_metadata,                                  GrowableArray<ciMetadata*>)            \
 779   nonstatic_field(ciObjectFactory,             _symbols,                                      GrowableArray<ciSymbol*>)              \
 780                                                                                                                                      \
 781   nonstatic_field(ciConstant,                  _type,                                         BasicType)                             \
 782   nonstatic_field(ciConstant,                  _value._int,                                   jint)                                  \
 783   nonstatic_field(ciConstant,                  _value._long,                                  jlong)                                 \
 784   nonstatic_field(ciConstant,                  _value._float,                                 jfloat)                                \
 785   nonstatic_field(ciConstant,                  _value._double,                                jdouble)                               \
 786   nonstatic_field(ciConstant,                  _value._object,                                ciObject*)                             \
 787                                                                                                                                      \
 788   /************/                                                                                                                     \
 789   /* Monitors */                                                                                                                     \
 790   /************/                                                                                                                     \
 791                                                                                                                                      \
 792   volatile_nonstatic_field(ObjectMonitor,      _header,                                       markWord)                              \
 793   unchecked_nonstatic_field(ObjectMonitor,     _object,                                       sizeof(void *)) /* NOTE: no type */    \
 794   unchecked_nonstatic_field(ObjectMonitor,     _owner,                                        sizeof(void *)) /* NOTE: no type */    \
 795   unchecked_nonstatic_field(ObjectMonitor,     _stack_locker,                                 BasicLock*)                            \
 796   volatile_nonstatic_field(ObjectMonitor,      _next_om,                                      ObjectMonitor*)                        \
 797   volatile_nonstatic_field(BasicLock,          _displaced_header,                             markWord)                              \
 798   nonstatic_field(ObjectMonitor,               _contentions,                                  int)                                   \
 799   volatile_nonstatic_field(ObjectMonitor,      _waiters,                                      int)                                   \
 800   volatile_nonstatic_field(ObjectMonitor,      _recursions,                                   intx)                                  \
 801   nonstatic_field(BasicObjectLock,             _lock,                                         BasicLock)                             \
 802   nonstatic_field(BasicObjectLock,             _obj,                                          oop)                                   \
 803   static_field(ObjectSynchronizer,             _in_use_list,                                  MonitorList)                           \
 804   volatile_nonstatic_field(MonitorList,        _head,                                         ObjectMonitor*)                        \
 805                                                                                                                                      \
 806   /*********************/                                                                                                            \
 807   /* Matcher (C2 only) */                                                                                                            \
 808   /*********************/                                                                                                            \
 809                                                                                                                                      \
 810   unchecked_c2_static_field(Matcher,           _regEncode,                          sizeof(Matcher::_regEncode)) /* NOTE: no type */ \
 811                                                                                                                                      \
 812   c2_nonstatic_field(Node,                     _in,                                           Node**)                                \
 813   c2_nonstatic_field(Node,                     _out,                                          Node**)                                \
 814   c2_nonstatic_field(Node,                     _cnt,                                          node_idx_t)                            \
 815   c2_nonstatic_field(Node,                     _max,                                          node_idx_t)                            \
< prev index next >