hotspot/src/share/vm/runtime/vm_operations.hpp
changeset 35825 7c7652ee137b
parent 35135 dd2ce9021031
child 36322 218528915a61
equal deleted inserted replaced
35824:d3958ca72bf9 35825:7c7652ee137b
   103   template(WhiteBoxOperation)                     \
   103   template(WhiteBoxOperation)                     \
   104   template(ClassLoaderStatsOperation)             \
   104   template(ClassLoaderStatsOperation)             \
   105   template(DumpHashtable)                         \
   105   template(DumpHashtable)                         \
   106   template(DumpTouchedMethods)                    \
   106   template(DumpTouchedMethods)                    \
   107   template(MarkActiveNMethods)                    \
   107   template(MarkActiveNMethods)                    \
   108   template(PrintCompileQueue)                     \
       
   109   template(PrintCodeList)                         \
       
   110   template(PrintCodeCache)                        \
       
   111   template(PrintClassHierarchy)                   \
   108   template(PrintClassHierarchy)                   \
   112 
   109 
   113 class VM_Operation: public CHeapObj<mtInternal> {
   110 class VM_Operation: public CHeapObj<mtInternal> {
   114  public:
   111  public:
   115   enum Mode {
   112   enum Mode {
   422   }
   419   }
   423   VMOp_Type type() const { return VMOp_Exit; }
   420   VMOp_Type type() const { return VMOp_Exit; }
   424   void doit();
   421   void doit();
   425 };
   422 };
   426 
   423 
   427 class VM_PrintCompileQueue: public VM_Operation {
       
   428  private:
       
   429   outputStream* _out;
       
   430 
       
   431  public:
       
   432   VM_PrintCompileQueue(outputStream* st) : _out(st) {}
       
   433   VMOp_Type type() const { return VMOp_PrintCompileQueue; }
       
   434   Mode evaluation_mode() const { return _no_safepoint; }
       
   435   void doit();
       
   436 };
       
   437 
       
   438 class VM_PrintCodeList: public VM_Operation {
       
   439  private:
       
   440   outputStream* _out;
       
   441 
       
   442  public:
       
   443   VM_PrintCodeList(outputStream* st) : _out(st) {}
       
   444   VMOp_Type type() const { return VMOp_PrintCodeList; }
       
   445   void doit();
       
   446 };
       
   447 
       
   448 class VM_PrintCodeCache: public VM_Operation {
       
   449  private:
       
   450   outputStream* _out;
       
   451 
       
   452  public:
       
   453   VM_PrintCodeCache(outputStream* st) : _out(st) {}
       
   454   VMOp_Type type() const { return VMOp_PrintCodeCache; }
       
   455   void doit();
       
   456 };
       
   457 
       
   458 #if INCLUDE_SERVICES
   424 #if INCLUDE_SERVICES
   459 class VM_PrintClassHierarchy: public VM_Operation {
   425 class VM_PrintClassHierarchy: public VM_Operation {
   460  private:
   426  private:
   461   outputStream* _out;
   427   outputStream* _out;
   462   bool _print_interfaces;
   428   bool _print_interfaces;