equal
deleted
inserted
replaced
70 template(G1CollectFull) \ |
70 template(G1CollectFull) \ |
71 template(G1Concurrent) \ |
71 template(G1Concurrent) \ |
72 template(ZMarkStart) \ |
72 template(ZMarkStart) \ |
73 template(ZMarkEnd) \ |
73 template(ZMarkEnd) \ |
74 template(ZRelocateStart) \ |
74 template(ZRelocateStart) \ |
|
75 template(ZVerify) \ |
75 template(HandshakeOneThread) \ |
76 template(HandshakeOneThread) \ |
76 template(HandshakeAllThreads) \ |
77 template(HandshakeAllThreads) \ |
77 template(HandshakeFallback) \ |
78 template(HandshakeFallback) \ |
78 template(EnableBiasedLocking) \ |
79 template(EnableBiasedLocking) \ |
79 template(RevokeBias) \ |
|
80 template(BulkRevokeBias) \ |
80 template(BulkRevokeBias) \ |
81 template(PopulateDumpSharedSpace) \ |
81 template(PopulateDumpSharedSpace) \ |
82 template(JNIFunctionTableCopier) \ |
82 template(JNIFunctionTableCopier) \ |
83 template(RedefineClasses) \ |
83 template(RedefineClasses) \ |
84 template(UpdateForPopTopFrame) \ |
84 template(UpdateForPopTopFrame) \ |
112 template(ShenandoahDegeneratedGC) \ |
112 template(ShenandoahDegeneratedGC) \ |
113 template(Exit) \ |
113 template(Exit) \ |
114 template(LinuxDllLoad) \ |
114 template(LinuxDllLoad) \ |
115 template(RotateGCLog) \ |
115 template(RotateGCLog) \ |
116 template(WhiteBoxOperation) \ |
116 template(WhiteBoxOperation) \ |
|
117 template(JVMCIResizeCounters) \ |
117 template(ClassLoaderStatsOperation) \ |
118 template(ClassLoaderStatsOperation) \ |
118 template(ClassLoaderHierarchyOperation) \ |
119 template(ClassLoaderHierarchyOperation) \ |
119 template(DumpHashtable) \ |
120 template(DumpHashtable) \ |
120 template(DumpTouchedMethods) \ |
121 template(DumpTouchedMethods) \ |
121 template(MarkActiveNMethods) \ |
122 template(MarkActiveNMethods) \ |
143 VMOp_Terminating |
144 VMOp_Terminating |
144 }; |
145 }; |
145 |
146 |
146 private: |
147 private: |
147 Thread* _calling_thread; |
148 Thread* _calling_thread; |
148 ThreadPriority _priority; |
|
149 long _timestamp; |
149 long _timestamp; |
150 VM_Operation* _next; |
150 VM_Operation* _next; |
151 VM_Operation* _prev; |
151 VM_Operation* _prev; |
152 |
152 |
153 // The VM operation name array |
153 // The VM operation name array |
157 VM_Operation() { _calling_thread = NULL; _next = NULL; _prev = NULL; } |
157 VM_Operation() { _calling_thread = NULL; _next = NULL; _prev = NULL; } |
158 virtual ~VM_Operation() {} |
158 virtual ~VM_Operation() {} |
159 |
159 |
160 // VM operation support (used by VM thread) |
160 // VM operation support (used by VM thread) |
161 Thread* calling_thread() const { return _calling_thread; } |
161 Thread* calling_thread() const { return _calling_thread; } |
162 ThreadPriority priority() { return _priority; } |
162 void set_calling_thread(Thread* thread); |
163 void set_calling_thread(Thread* thread, ThreadPriority priority); |
|
164 |
163 |
165 long timestamp() const { return _timestamp; } |
164 long timestamp() const { return _timestamp; } |
166 void set_timestamp(long timestamp) { _timestamp = timestamp; } |
165 void set_timestamp(long timestamp) { _timestamp = timestamp; } |
167 |
166 |
168 // Called by VM thread - does in turn invoke doit(). Do not override this |
167 // Called by VM thread - does in turn invoke doit(). Do not override this |