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(ClassLoaderStatsOperation) \
101
102 class VM_Operation: public CHeapObj<mtInternal> {
103 public:
104 enum Mode {
105 _safepoint, // blocking, safepoint, vm_op C-heap allocated
106 _no_safepoint, // blocking, no safepoint, vm_op C-Heap allocated
107 _concurrent, // non-blocking, no safepoint, vm_op C-Heap allocated
108 _async_safepoint // non-blocking, safepoint, vm_op C-Heap allocated
109 };
110
111 enum VMOp_Type {
112 VM_OPS_DO(VM_OP_ENUM)
113 VMOp_Terminating
114 };
115
116 private:
117 Thread* _calling_thread;
118 ThreadPriority _priority;
119 long _timestamp;
120 VM_Operation* _next;
|
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(ClassLoaderStatsOperation) \
101 template(JFROldObject) \
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;
|