Jdk8 GC Tuning

https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/toc.html

jmap -heap 253784
Attaching to process ID 253784, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.192-b12

using thread-local object allocation.
Parallel GC with 53 thread(s)

Heap Configuration:
   MinHeapFreeRatio         = 0
   MaxHeapFreeRatio         = 100
   MaxHeapSize              = 32212254720 (30720.0MB)
   NewSize                  = 7158104064 (6826.5MB)
   MaxNewSize               = 10737418240 (10240.0MB)
   OldSize                  = 14316732416 (13653.5MB)
   NewRatio                 = 2
   SurvivorRatio            = 8
   MetaspaceSize            = 21807104 (20.796875MB)
   CompressedClassSpaceSize = 1073741824 (1024.0MB)
   MaxMetaspaceSize         = 17592186044415 MB
   G1HeapRegionSize         = 0 (0.0MB)

Heap Usage:
PS Young Generation
Eden Space:
   capacity = 9432989696 (8996.0MB)
   used     = 1997674864 (1905.1312103271484MB)
   free     = 7435314832 (7090.868789672852MB)
   21.177536797767324% used
From Space:
   capacity = 139984896 (133.5MB)
   used     = 23429168 (22.343795776367188MB)
   free     = 116555728 (111.15620422363281MB)
   16.736925675181414% used
To Space:
   capacity = 150470656 (143.5MB)
   used     = 0 (0.0MB)
   free     = 150470656 (143.5MB)
   0.0% used
PS Old Generation
   capacity = 19685965824 (18774.0MB)
   used     = 10941539256 (10434.66497039795MB)
   free     = 8744426568 (8339.33502960205MB)
   55.58040359219106% used

17968 interned Strings occupying 1745192 bytes.
posted @ 2021-12-08 16:00  Yu\.W  阅读(79)  评论(0编辑  收藏  举报