< prev index next >

src/hotspot/share/services/diagnosticCommand.hpp

Print this page

        

@@ -643,11 +643,11 @@
 
 //---<  BEGIN  >--- CodeHeap State Analytics.
 class CodeHeapAnalyticsDCmd : public DCmdWithParser {
 protected:
   DCmdArgument<char*> _function;
-  DCmdArgument<jlong> _granularity;
+  DCmdArgument<char*> _granularity;
 public:
   CodeHeapAnalyticsDCmd(outputStream* output, bool heap);
   static const char* name() {
     return "Compiler.CodeHeap_Analytics";
   }

@@ -886,30 +886,6 @@
   static int num_arguments() { return 0; }
   virtual void execute(DCmdSource source, TRAPS);
 };
 #endif // INCLUDE_JVMTI
 
-class EventLogDCmd : public DCmdWithParser {
-protected:
-  DCmdArgument<char*> _log;
-  DCmdArgument<char*> _max;
-public:
-  EventLogDCmd(outputStream* output, bool heap);
-  static const char* name() {
-    return "VM.events";
-  }
-  static const char* description() {
-    return "Print VM event logs";
-  }
-  static const char* impact() {
-    return "Low: Depends on event log size. ";
-  }
-  static const JavaPermission permission() {
-    JavaPermission p = {"java.lang.management.ManagementPermission",
-                        "monitor", NULL};
-    return p;
-  }
-  static int num_arguments();
-  virtual void execute(DCmdSource source, TRAPS);
-};
-
 #endif // SHARE_SERVICES_DIAGNOSTICCOMMAND_HPP
< prev index next >