< prev index next >

src/hotspot/share/runtime/vmOperation.hpp

Print this page

 33 
 34 #define VM_OP_ENUM(type)   VMOp_##type,
 35 
 36 // Note: When new VM_XXX comes up, add 'XXX' to the template table.
 37 #define VM_OPS_DO(template)                       \
 38   template(None)                                  \
 39   template(Cleanup)                               \
 40   template(ThreadDump)                            \
 41   template(PrintThreads)                          \
 42   template(FindDeadlocks)                         \
 43   template(ClearICs)                              \
 44   template(ForceSafepoint)                        \
 45   template(ForceAsyncSafepoint)                   \
 46   template(DeoptimizeFrame)                       \
 47   template(DeoptimizeAll)                         \
 48   template(ZombieAll)                             \
 49   template(Verify)                                \
 50   template(HeapDumper)                            \
 51   template(DeoptimizeTheWorld)                    \
 52   template(CollectForMetadataAllocation)          \

 53   template(GC_HeapInspection)                     \
 54   template(GenCollectFull)                        \
 55   template(GenCollectFullConcurrent)              \
 56   template(GenCollectForAllocation)               \
 57   template(ParallelGCFailedAllocation)            \
 58   template(ParallelGCSystemGC)                    \
 59   template(G1CollectForAllocation)                \
 60   template(G1CollectFull)                         \
 61   template(G1Concurrent)                          \
 62   template(G1TryInitiateConcMark)                 \
 63   template(ZMarkStart)                            \
 64   template(ZMarkEnd)                              \
 65   template(ZRelocateStart)                        \
 66   template(ZVerify)                               \
 67   template(HandshakeOneThread)                    \
 68   template(HandshakeAllThreads)                   \
 69   template(HandshakeFallback)                     \
 70   template(PopulateDumpSharedSpace)               \
 71   template(JNIFunctionTableCopier)                \
 72   template(RedefineClasses)                       \
 73   template(GetObjectMonitorUsage)                 \
 74   template(GetAllStackTraces)                     \
 75   template(GetThreadListStackTraces)              \


 76   template(ChangeBreakpoints)                     \
 77   template(GetOrSetLocal)                         \


 78   template(ChangeSingleStep)                      \
 79   template(HeapWalkOperation)                     \
 80   template(HeapIterateOperation)                  \
 81   template(ReportJavaOutOfMemory)                 \
 82   template(JFRCheckpoint)                         \
 83   template(ShenandoahFullGC)                      \
 84   template(ShenandoahInitMark)                    \
 85   template(ShenandoahFinalMarkStartEvac)          \
 86   template(ShenandoahInitUpdateRefs)              \
 87   template(ShenandoahFinalUpdateRefs)             \
 88   template(ShenandoahFinalRoots)                  \
 89   template(ShenandoahDegeneratedGC)               \
 90   template(Exit)                                  \
 91   template(LinuxDllLoad)                          \
 92   template(RotateGCLog)                           \
 93   template(WhiteBoxOperation)                     \
 94   template(JVMCIResizeCounters)                   \
 95   template(ClassLoaderStatsOperation)             \
 96   template(ClassLoaderHierarchyOperation)         \
 97   template(DumpHashtable)                         \
 98   template(DumpTouchedMethods)                    \
 99   template(CleanClassLoaderDataMetaspaces)        \
100   template(PrintCompileQueue)                     \
101   template(PrintClassHierarchy)                   \
102   template(ThreadSuspend)                         \
103   template(ThreadsSuspendJVMTI)                   \
104   template(ICBufferFull)                          \
105   template(ScavengeMonitors)                      \
106   template(PrintMetadata)                         \
107   template(GTestExecuteAtSafepoint)               \
108   template(JFROldObject)                          \
109   template(JvmtiPostObjectFree)
110 
111 class Thread;
112 class outputStream;
113 
114 class VM_Operation : public StackObj {
115  public:
116   enum VMOp_Type {
117     VM_OPS_DO(VM_OP_ENUM)
118     VMOp_Terminating
119   };
120 
121  private:
122   Thread*         _calling_thread;
123 

 33 
 34 #define VM_OP_ENUM(type)   VMOp_##type,
 35 
 36 // Note: When new VM_XXX comes up, add 'XXX' to the template table.
 37 #define VM_OPS_DO(template)                       \
 38   template(None)                                  \
 39   template(Cleanup)                               \
 40   template(ThreadDump)                            \
 41   template(PrintThreads)                          \
 42   template(FindDeadlocks)                         \
 43   template(ClearICs)                              \
 44   template(ForceSafepoint)                        \
 45   template(ForceAsyncSafepoint)                   \
 46   template(DeoptimizeFrame)                       \
 47   template(DeoptimizeAll)                         \
 48   template(ZombieAll)                             \
 49   template(Verify)                                \
 50   template(HeapDumper)                            \
 51   template(DeoptimizeTheWorld)                    \
 52   template(CollectForMetadataAllocation)          \
 53   template(CollectForCodeCacheAllocation)         \
 54   template(GC_HeapInspection)                     \
 55   template(GenCollectFull)                        \
 56   template(GenCollectFullConcurrent)              \
 57   template(GenCollectForAllocation)               \
 58   template(ParallelGCFailedAllocation)            \
 59   template(ParallelGCSystemGC)                    \
 60   template(G1CollectForAllocation)                \
 61   template(G1CollectFull)                         \
 62   template(G1Concurrent)                          \
 63   template(G1TryInitiateConcMark)                 \
 64   template(ZMarkStart)                            \
 65   template(ZMarkEnd)                              \
 66   template(ZRelocateStart)                        \
 67   template(ZVerify)                               \
 68   template(HandshakeOneThread)                    \
 69   template(HandshakeAllThreads)                   \
 70   template(HandshakeFallback)                     \
 71   template(PopulateDumpSharedSpace)               \
 72   template(JNIFunctionTableCopier)                \
 73   template(RedefineClasses)                       \
 74   template(GetObjectMonitorUsage)                 \
 75   template(GetAllStackTraces)                     \
 76   template(GetThreadListStackTraces)              \
 77   template(VThreadGetStackTrace)                  \
 78   template(VThreadGetFrameCount)                  \
 79   template(ChangeBreakpoints)                     \
 80   template(GetOrSetLocal)                         \
 81   template(VirtualThreadGetOrSetLocal)            \
 82   template(VThreadGetCurrentLocation)             \
 83   template(ChangeSingleStep)                      \
 84   template(HeapWalkOperation)                     \
 85   template(HeapIterateOperation)                  \
 86   template(ReportJavaOutOfMemory)                 \
 87   template(JFRCheckpoint)                         \
 88   template(ShenandoahFullGC)                      \
 89   template(ShenandoahInitMark)                    \
 90   template(ShenandoahFinalMarkStartEvac)          \
 91   template(ShenandoahInitUpdateRefs)              \
 92   template(ShenandoahFinalUpdateRefs)             \
 93   template(ShenandoahFinalRoots)                  \
 94   template(ShenandoahDegeneratedGC)               \
 95   template(Exit)                                  \
 96   template(LinuxDllLoad)                          \
 97   template(RotateGCLog)                           \
 98   template(WhiteBoxOperation)                     \
 99   template(JVMCIResizeCounters)                   \
100   template(ClassLoaderStatsOperation)             \
101   template(ClassLoaderHierarchyOperation)         \
102   template(DumpHashtable)                         \
103   template(DumpTouchedMethods)                    \
104   template(CleanClassLoaderDataMetaspaces)        \
105   template(PrintCompileQueue)                     \
106   template(PrintClassHierarchy)                   \
107   template(ThreadSuspend)                         \

108   template(ICBufferFull)                          \
109   template(ScavengeMonitors)                      \
110   template(PrintMetadata)                         \
111   template(GTestExecuteAtSafepoint)               \
112   template(JFROldObject)                          \
113   template(JvmtiPostObjectFree)
114 
115 class Thread;
116 class outputStream;
117 
118 class VM_Operation : public StackObj {
119  public:
120   enum VMOp_Type {
121     VM_OPS_DO(VM_OP_ENUM)
122     VMOp_Terminating
123   };
124 
125  private:
126   Thread*         _calling_thread;
127 
< prev index next >