80 template(GetCurrentContendedMonitor) \ 81 template(GetStackTrace) \ 82 template(GetMultipleStackTraces) \ 83 template(GetAllStackTraces) \ 84 template(GetThreadListStackTraces) \ 85 template(GetFrameCount) \ 86 template(GetFrameLocation) \ 87 template(ChangeBreakpoints) \ 88 template(GetOrSetLocal) \ 89 template(GetCurrentLocation) \ 90 template(EnterInterpOnlyMode) \ 91 template(ChangeSingleStep) \ 92 template(HeapWalkOperation) \ 93 template(HeapIterateOperation) \ 94 template(ReportJavaOutOfMemory) \ 95 template(JFRCheckpoint) \ 96 template(Exit) \ 97 template(LinuxDllLoad) \ 98 template(RotateGCLog) \ 99 template(WhiteBoxOperation) \ 100 101 class VM_Operation: public CHeapObj<mtInternal> { 102 public: 103 enum Mode { 104 _safepoint, // blocking, safepoint, vm_op C-heap allocated 105 _no_safepoint, // blocking, no safepoint, vm_op C-Heap allocated 106 _concurrent, // non-blocking, no safepoint, vm_op C-Heap allocated 107 _async_safepoint // non-blocking, safepoint, vm_op C-Heap allocated 108 }; 109 110 enum VMOp_Type { 111 VM_OPS_DO(VM_OP_ENUM) 112 VMOp_Terminating 113 }; 114 115 private: 116 Thread* _calling_thread; 117 ThreadPriority _priority; 118 long _timestamp; 119 VM_Operation* _next; | 80 template(GetCurrentContendedMonitor) \ 81 template(GetStackTrace) \ 82 template(GetMultipleStackTraces) \ 83 template(GetAllStackTraces) \ 84 template(GetThreadListStackTraces) \ 85 template(GetFrameCount) \ 86 template(GetFrameLocation) \ 87 template(ChangeBreakpoints) \ 88 template(GetOrSetLocal) \ 89 template(GetCurrentLocation) \ 90 template(EnterInterpOnlyMode) \ 91 template(ChangeSingleStep) \ 92 template(HeapWalkOperation) \ 93 template(HeapIterateOperation) \ 94 template(ReportJavaOutOfMemory) \ 95 template(JFRCheckpoint) \ 96 template(Exit) \ 97 template(LinuxDllLoad) \ 98 template(RotateGCLog) \ 99 template(WhiteBoxOperation) \ 100 template(ReclaimTraceBuffers) \ 101 template(ResetTraceMetadata) \ 102 103 class VM_Operation: public CHeapObj<mtInternal> { 104 public: 105 enum Mode { 106 _safepoint, // blocking, safepoint, vm_op C-heap allocated 107 _no_safepoint, // blocking, no safepoint, vm_op C-Heap allocated 108 _concurrent, // non-blocking, no safepoint, vm_op C-Heap allocated 109 _async_safepoint // non-blocking, safepoint, vm_op C-Heap allocated 110 }; 111 112 enum VMOp_Type { 113 VM_OPS_DO(VM_OP_ENUM) 114 VMOp_Terminating 115 }; 116 117 private: 118 Thread* _calling_thread; 119 ThreadPriority _priority; 120 long _timestamp; 121 VM_Operation* _next; |