< prev index next >

src/hotspot/share/runtime/vmOperations.hpp

Print this page

 52   bool _preserve_static_stubs;
 53  public:
 54   VM_ClearICs(bool preserve_static_stubs) { _preserve_static_stubs = preserve_static_stubs; }
 55   void doit();
 56   VMOp_Type type() const { return VMOp_ClearICs; }
 57 };
 58 
 59 // empty vm op, evaluated just to force a safepoint
 60 class VM_ForceSafepoint: public VM_Operation {
 61  public:
 62   void doit()         {}
 63   VMOp_Type type() const { return VMOp_ForceSafepoint; }
 64 };
 65 
 66 // empty vm op, when forcing a safepoint to suspend a thread
 67 class VM_ThreadSuspend: public VM_ForceSafepoint {
 68  public:
 69   VMOp_Type type() const { return VMOp_ThreadSuspend; }
 70 };
 71 
 72 // empty vm op, when forcing a safepoint to suspend threads from jvmti
 73 class VM_ThreadsSuspendJVMTI: public VM_ForceSafepoint {
 74  public:
 75   VMOp_Type type() const { return VMOp_ThreadsSuspendJVMTI; }
 76 };
 77 
 78 // empty vm op, when forcing a safepoint due to inline cache buffers being full
 79 class VM_ICBufferFull: public VM_ForceSafepoint {
 80  public:
 81   VMOp_Type type() const { return VMOp_ICBufferFull; }
 82   virtual bool skip_thread_oop_barriers() const { return true; }
 83 };
 84 
 85 // Base class for invoking parts of a gtest in a safepoint.
 86 // Derived classes provide the doit method.
 87 // Typically also need to transition the gtest thread from native to VM.
 88 class VM_GTestExecuteAtSafepoint: public VM_Operation {
 89  public:
 90   VMOp_Type type() const                         { return VMOp_GTestExecuteAtSafepoint; }
 91 
 92  protected:
 93   VM_GTestExecuteAtSafepoint() {}
 94 };
 95 
 96 class VM_CleanClassLoaderDataMetaspaces : public VM_Operation {
 97  public:

 52   bool _preserve_static_stubs;
 53  public:
 54   VM_ClearICs(bool preserve_static_stubs) { _preserve_static_stubs = preserve_static_stubs; }
 55   void doit();
 56   VMOp_Type type() const { return VMOp_ClearICs; }
 57 };
 58 
 59 // empty vm op, evaluated just to force a safepoint
 60 class VM_ForceSafepoint: public VM_Operation {
 61  public:
 62   void doit()         {}
 63   VMOp_Type type() const { return VMOp_ForceSafepoint; }
 64 };
 65 
 66 // empty vm op, when forcing a safepoint to suspend a thread
 67 class VM_ThreadSuspend: public VM_ForceSafepoint {
 68  public:
 69   VMOp_Type type() const { return VMOp_ThreadSuspend; }
 70 };
 71 






 72 // empty vm op, when forcing a safepoint due to inline cache buffers being full
 73 class VM_ICBufferFull: public VM_ForceSafepoint {
 74  public:
 75   VMOp_Type type() const { return VMOp_ICBufferFull; }
 76   virtual bool skip_thread_oop_barriers() const { return true; }
 77 };
 78 
 79 // Base class for invoking parts of a gtest in a safepoint.
 80 // Derived classes provide the doit method.
 81 // Typically also need to transition the gtest thread from native to VM.
 82 class VM_GTestExecuteAtSafepoint: public VM_Operation {
 83  public:
 84   VMOp_Type type() const                         { return VMOp_GTestExecuteAtSafepoint; }
 85 
 86  protected:
 87   VM_GTestExecuteAtSafepoint() {}
 88 };
 89 
 90 class VM_CleanClassLoaderDataMetaspaces : public VM_Operation {
 91  public:
< prev index next >