Categories:
Audio (13)
Biotech (29)
Bytecode (22)
Database (79)
Framework (7)
Game (7)
General (497)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (70)
JavaBeans (16)
JDBC (86)
JDK (338)
JSP (20)
Logging (90)
Mail (54)
Messaging (8)
Network (106)
PDF (82)
Report (7)
Scripting (75)
Security (67)
Server (112)
Servlet (17)
SOAP (24)
Testing (55)
Web (24)
XML (287)
Other Resources:
jdk.hotspot.agent/sun.jvm.hotspot.tools.HeapSummary - JVM Heap Summary
How to run "jdk.hotspot.agent/sun.jvm.hotspot.tools.HeapSummary" tool from JDK lib\modules JImage file?
✍: FYIcenter
"jdk.hotspot.agent/sun.jvm.hotspot.tools.HeapSummary" tool allows you
to print out heap summary of a given JVM process.
"jdk.hotspot.agent/sun.jvm.hotspot.tools.HeapSummary" tool is supported by the jmods\jdk.hotspot.agent.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.
You can run the "jdk.hotspot.agent/sun.jvm.hotspot.tools.HeapSummary" tool using the lib\modules JImage file as described below using JDK 11 as an example:
C:\fyicenter>set JDK_HOME=\fyicenter\jdk-11.0.1 C:\fyicenter>%JDK_HOME%\bin\java --module jdk.hotspot.agent/sun.jvm.hotspot.tools.HeapSummary 5136 Summary 5136 Attaching to process ID 5136, please wait... Debugger attached successfully. Server compiler detected. JVM version is 11.0.1 using thread-local object allocation. Garbage-First (G1) GC with 2 thread(s) Heap Configuration: MinHeapFreeRatio = 40 MaxHeapFreeRatio = 70 MaxHeapSize = 1073741824 (1024.0MB) NewSize = 1363144 (1.2999954223632812MB) MaxNewSize = 643825664 (614.0MB) OldSize = 5452592 (5.1999969482421875MB) NewRatio = 2 SurvivorRatio = 8 MetaspaceSize = 21807104 (20.796875MB) CompressedClassSpaceSize = 260046848 (248.0MB) MaxMetaspaceSize = 268435456 (256.0MB) G1HeapRegionSize = 1048576 (1.0MB) Heap Usage: G1 Heap: regions = 1024 capacity = 1073741824 (1024.0MB) used = 60424704 (57.62548828125MB) free = 1013317120 (966.37451171875MB) 5.62748908996582% used G1 Young Generation: Eden Space: regions = 33 capacity = 49283072 (47.0MB) used = 34603008 (33.0MB) free = 14680064 (14.0MB) 70.2127659574468% used Survivor Space: regions = 7 capacity = 7340032 (7.0MB) used = 7340032 (7.0MB) free = 0 (0.0MB) 100.0% used G1 Old Generation: regions = 18 capacity = 1017118720 (970.0MB) used = 17433088 (16.62548828125MB) free = 999685632 (953.37451171875MB) 1.7139678640463918% used 23990 interned Strings occupying 1712584 bytes.
⇒ jdk.hotspot.agent/sun.jvm.hotspot.tools.jcore.ClassDump - JVM Class Dumper
⇐ jdkjdk.hotspot.agent/sun.jvm.hotspot.tools.HeapDumper - JVM Heap Dumper
2019-09-27, 757👍, 0💬
Popular Posts:
How to run "javac" command from JDK tools.jar file? "javac" is the Java compiler command that allows...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...
What Is poi-3.5.jar - Part 2? poi-3.5.jar is one of the JAR files for Apache POI 3.5, which provides...
pache Derby is an open source relational database implemented entirely in Java and available under t...
The Jakarta-ORO Java classes are a set of text-processing Java classes that provide Perl5 compatible...