Add gc-basics: Java garbage collection explained and measured on JDK 25, 27, 28 EA
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b44MquEzmd9QMkZCd7
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
f7b6c1efca
commit
876ae1bb5c
@@ -0,0 +1,25 @@
|
||||
# Heap is not the whole process: Native Memory Tracking on a live JVM (JDK 25, G1, -Xmx512m, 150 MB live)
|
||||
$ jcmd <pid> VM.native_memory summary (category totals only)
|
||||
Total: reserved=1973775KB, committed=597955KB
|
||||
Java Heap (reserved=524288KB, committed=524288KB)
|
||||
Class (reserved=1048647KB, committed=199KB)
|
||||
Thread (reserved=20545KB, committed=1053KB)
|
||||
Code (reserved=247794KB, committed=7650KB)
|
||||
GC (reserved=47599KB, committed=47599KB)
|
||||
GCCardSet (reserved=9KB, committed=9KB)
|
||||
Compiler (reserved=214KB, committed=214KB)
|
||||
Internal (reserved=1297KB, committed=1297KB)
|
||||
Symbol (reserved=1131KB, committed=1131KB)
|
||||
Native Memory Tracking (reserved=180KB, committed=180KB)
|
||||
Shared class space (reserved=16384KB, committed=13928KB, readonly=0KB)
|
||||
Arena Chunk (reserved=1KB, committed=1KB)
|
||||
Tracing (reserved=5KB, committed=5KB)
|
||||
Module (reserved=40KB, committed=40KB)
|
||||
Safepoint (reserved=8KB, committed=8KB)
|
||||
Synchronization (reserved=66KB, committed=66KB)
|
||||
Serviceability (reserved=17KB, committed=17KB)
|
||||
Metaspace (reserved=65548KB, committed=268KB)
|
||||
String Deduplication (reserved=1KB, committed=1KB)
|
||||
Object Monitors (reserved=1KB, committed=1KB)
|
||||
|
||||
resident set size of the process, from /proc: 549.477 MB
|
||||
Reference in New Issue
Block a user