< prev index next >

src/hotspot/share/services/diagnosticCommand.hpp

Print this page
*** 429,11 ***
  public:
    static int num_arguments() { return 2; }
    ThreadDumpDCmd(outputStream* output, bool heap);
    static const char* name() { return "Thread.print"; }
    static const char* description() {
!     return "Print all threads with stacktraces.";
    }
    static const char* impact() {
      return "Medium: Depends on the number of threads.";
    }
    static const JavaPermission permission() {
--- 429,11 ---
  public:
    static int num_arguments() { return 2; }
    ThreadDumpDCmd(outputStream* output, bool heap);
    static const char* name() { return "Thread.print"; }
    static const char* description() {
!     return "Print all platform threads with stacktraces.";
    }
    static const char* impact() {
      return "Medium: Depends on the number of threads.";
    }
    static const JavaPermission permission() {

*** 934,10 ***
--- 934,23 ---
      return p;
    }
    virtual void execute(DCmdSource source, TRAPS);
  };
  
+ class VThreadSummaryDCmd : public DCmd {
+ public:
+   VThreadSummaryDCmd(outputStream* output, bool heap) : DCmd(output, heap) { }
+   static const char* name() {
+     return "Thread.vthread_summary";
+   }
+   static const char* description() {
+     return "Print the virtual thread scheduler, timeout schedulers, I/O pollers, and thread groupings.";
+   }
+   static const char* impact() { return "Low"; }
+   virtual void execute(DCmdSource source, TRAPS);
+ };
+ 
  class CompilationMemoryStatisticDCmd: public DCmdWithParser {
  protected:
    DCmdArgument<bool> _human_readable;
    DCmdArgument<MemorySizeArgument> _minsize;
  public:
< prev index next >