< prev index next >

src/jdk.jcmd/share/man/jcmd.md

Print this page

 720 
 721     *arguments*:
 722 
 723     -   *filepath*:  The file path to the output file.  If %p is specified in the filename, it is expanded to the JVM's PID.  (FILE, no default value)
 724 
 725 `Thread.print` \[*options*\]
 726 :   Prints all threads with stacktraces.
 727 
 728     Impact: Medium --- depends on the number of threads.
 729 
 730     **Note:**
 731 
 732     The following *options* must be specified using either *key* or
 733     *key*`=`*value* syntax.
 734 
 735     *options*:
 736 
 737     -   `-e`: (Optional) Print extended thread information (BOOLEAN, false)
 738     -   `-l`: (Optional) Prints `java.util.concurrent` locks (BOOLEAN, false)
 739 





 740 `VM.cds` \[*arguments*\]
 741 :   Dump a static or dynamic shared archive that includes all currently loaded classes.
 742 
 743     Impact: Medium --- pause time depends on number of loaded classes
 744 
 745     *arguments*:
 746 
 747     -   *subcmd*:  must be either `static_dump` or `dynamic_dump` (STRING, no default value)
 748     -   *filename*: (Optional) Name of the shared archive to be dumped.  If %p is specified in the filename, it is expanded to the JVM's PID.  (FILE, "java_pid%p_\<subcmd\>.jsa")
 749 
 750     If `dynamic_dump` is specified, the target JVM must be started with the JVM option
 751     `-XX:+RecordDynamicDumpInfo`.
 752 
 753 `VM.class_hierarchy` \[*options*\] \[*arguments*\]
 754 :   Print a list of all loaded classes, indented to show the class hierarchy.
 755     The name of each class is followed by the ClassLoaderData\* of its
 756     ClassLoader, or "null" if it is loaded by the bootstrap class loader.
 757 
 758     Impact: Medium --- depends on the number of loaded classes.
 759 

 720 
 721     *arguments*:
 722 
 723     -   *filepath*:  The file path to the output file.  If %p is specified in the filename, it is expanded to the JVM's PID.  (FILE, no default value)
 724 
 725 `Thread.print` \[*options*\]
 726 :   Prints all threads with stacktraces.
 727 
 728     Impact: Medium --- depends on the number of threads.
 729 
 730     **Note:**
 731 
 732     The following *options* must be specified using either *key* or
 733     *key*`=`*value* syntax.
 734 
 735     *options*:
 736 
 737     -   `-e`: (Optional) Print extended thread information (BOOLEAN, false)
 738     -   `-l`: (Optional) Prints `java.util.concurrent` locks (BOOLEAN, false)
 739 
 740 `Thread.vthread_summary`
 741 :   Print the virtual thread scheduler, timeout schedulers, I/O pollers, and thread groupings.
 742 
 743     Impact: Low
 744 
 745 `VM.cds` \[*arguments*\]
 746 :   Dump a static or dynamic shared archive that includes all currently loaded classes.
 747 
 748     Impact: Medium --- pause time depends on number of loaded classes
 749 
 750     *arguments*:
 751 
 752     -   *subcmd*:  must be either `static_dump` or `dynamic_dump` (STRING, no default value)
 753     -   *filename*: (Optional) Name of the shared archive to be dumped.  If %p is specified in the filename, it is expanded to the JVM's PID.  (FILE, "java_pid%p_\<subcmd\>.jsa")
 754 
 755     If `dynamic_dump` is specified, the target JVM must be started with the JVM option
 756     `-XX:+RecordDynamicDumpInfo`.
 757 
 758 `VM.class_hierarchy` \[*options*\] \[*arguments*\]
 759 :   Print a list of all loaded classes, indented to show the class hierarchy.
 760     The name of each class is followed by the ClassLoaderData\* of its
 761     ClassLoader, or "null" if it is loaded by the bootstrap class loader.
 762 
 763     Impact: Medium --- depends on the number of loaded classes.
 764 
< prev index next >