42 #include "oops/typeArrayOop.inline.hpp" 43 #include "prims/jvmtiEventController.hpp" 44 #include "prims/jvmtiEventController.inline.hpp" 45 #include "prims/jvmtiExport.hpp" 46 #include "prims/jvmtiImpl.hpp" 47 #include "prims/jvmtiTagMap.hpp" 48 #include "runtime/biasedLocking.hpp" 49 #include "runtime/frame.inline.hpp" 50 #include "runtime/handles.inline.hpp" 51 #include "runtime/javaCalls.hpp" 52 #include "runtime/jniHandles.inline.hpp" 53 #include "runtime/mutex.hpp" 54 #include "runtime/mutexLocker.hpp" 55 #include "runtime/reflectionUtils.hpp" 56 #include "runtime/thread.inline.hpp" 57 #include "runtime/threadSMR.hpp" 58 #include "runtime/vframe.hpp" 59 #include "runtime/vmThread.hpp" 60 #include "runtime/vm_operations.hpp" 61 #include "utilities/macros.hpp" 62 63 // JvmtiTagHashmapEntry 64 // 65 // Each entry encapsulates a reference to the tagged object 66 // and the tag value. In addition an entry includes a next pointer which 67 // is used to chain entries together. 68 69 class JvmtiTagHashmapEntry : public CHeapObj<mtInternal> { 70 private: 71 friend class JvmtiTagMap; 72 73 oop _object; // tagged object 74 jlong _tag; // the tag 75 JvmtiTagHashmapEntry* _next; // next on the list 76 77 inline void init(oop object, jlong tag) { 78 _object = object; 79 _tag = tag; 80 _next = NULL; 81 } | 42 #include "oops/typeArrayOop.inline.hpp" 43 #include "prims/jvmtiEventController.hpp" 44 #include "prims/jvmtiEventController.inline.hpp" 45 #include "prims/jvmtiExport.hpp" 46 #include "prims/jvmtiImpl.hpp" 47 #include "prims/jvmtiTagMap.hpp" 48 #include "runtime/biasedLocking.hpp" 49 #include "runtime/frame.inline.hpp" 50 #include "runtime/handles.inline.hpp" 51 #include "runtime/javaCalls.hpp" 52 #include "runtime/jniHandles.inline.hpp" 53 #include "runtime/mutex.hpp" 54 #include "runtime/mutexLocker.hpp" 55 #include "runtime/reflectionUtils.hpp" 56 #include "runtime/thread.inline.hpp" 57 #include "runtime/threadSMR.hpp" 58 #include "runtime/vframe.hpp" 59 #include "runtime/vmThread.hpp" 60 #include "runtime/vm_operations.hpp" 61 #include "utilities/macros.hpp" 62 #if INCLUDE_ZGC 63 #include "gc/z/zGlobals.hpp" 64 #endif 65 66 // JvmtiTagHashmapEntry 67 // 68 // Each entry encapsulates a reference to the tagged object 69 // and the tag value. In addition an entry includes a next pointer which 70 // is used to chain entries together. 71 72 class JvmtiTagHashmapEntry : public CHeapObj<mtInternal> { 73 private: 74 friend class JvmtiTagMap; 75 76 oop _object; // tagged object 77 jlong _tag; // the tag 78 JvmtiTagHashmapEntry* _next; // next on the list 79 80 inline void init(oop object, jlong tag) { 81 _object = object; 82 _tag = tag; 83 _next = NULL; 84 } |