hotspot/src/share/vm/runtime/vm_operations.hpp
changeset 27420 04e6f914cce1
parent 26837 72a43d3841e7
child 27696 c43940b3cf78
equal deleted inserted replaced
27419:a934f24b4dcf 27420:04e6f914cce1
    98   template(Exit)                                  \
    98   template(Exit)                                  \
    99   template(LinuxDllLoad)                          \
    99   template(LinuxDllLoad)                          \
   100   template(RotateGCLog)                           \
   100   template(RotateGCLog)                           \
   101   template(WhiteBoxOperation)                     \
   101   template(WhiteBoxOperation)                     \
   102   template(ClassLoaderStatsOperation)             \
   102   template(ClassLoaderStatsOperation)             \
       
   103   template(MarkActiveNMethods)                    \
   103   template(PrintCompileQueue)                     \
   104   template(PrintCompileQueue)                     \
   104   template(PrintCodeList)                         \
   105   template(PrintCodeList)                         \
   105   template(PrintCodeCache)                        \
   106   template(PrintCodeCache)                        \
   106 
   107 
   107 class VM_Operation: public CHeapObj<mtInternal> {
   108 class VM_Operation: public CHeapObj<mtInternal> {
   250   VMOp_Type type() const                        { return VMOp_Deoptimize; }
   251   VMOp_Type type() const                        { return VMOp_Deoptimize; }
   251   void doit();
   252   void doit();
   252   bool allow_nested_vm_operations() const        { return true; }
   253   bool allow_nested_vm_operations() const        { return true; }
   253 };
   254 };
   254 
   255 
       
   256 class VM_MarkActiveNMethods: public VM_Operation {
       
   257  public:
       
   258   VM_MarkActiveNMethods() {}
       
   259   VMOp_Type type() const                         { return VMOp_MarkActiveNMethods; }
       
   260   void doit();
       
   261   bool allow_nested_vm_operations() const        { return true; }
       
   262 };
   255 
   263 
   256 // Deopt helper that can deoptimize frames in threads other than the
   264 // Deopt helper that can deoptimize frames in threads other than the
   257 // current thread.  Only used through Deoptimization::deoptimize_frame.
   265 // current thread.  Only used through Deoptimization::deoptimize_frame.
   258 class VM_DeoptimizeFrame: public VM_Operation {
   266 class VM_DeoptimizeFrame: public VM_Operation {
   259   friend class Deoptimization;
   267   friend class Deoptimization;