Parallel GC (Parallel Scavenge+Serial Old)
配置参数:-Xmx8g -Xms8g
using thread-local object allocation.
Parallel GC with 4 thread(s)
Heap Configuration:
MinHeapFreeRatio = 0
MaxHeapFreeRatio = 100
MaxHeapSize = 8589934592 (8192.0MB)
NewSize = 4294967296 (4096.0MB)
MaxNewSize = 4294967296 (4096.0MB)
OldSize = 4294967296 (4096.0MB)
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 = 4262461440 (4065.0MB)
used = 1821489680 (1737.107925415039MB)
free = 2440971760 (2327.892074584961MB)
42.73328229803294% used
From Space:
capacity = 16252928 (15.5MB)
used = 14786080 (14.101104736328125MB)
free = 1466848 (1.398895263671875MB)
90.97486926663306% used
To Space:
capacity = 16252928 (15.5MB)
used = 0 (0.0MB)
free = 16252928 (15.5MB)
0.0% used
PS Old Generation
capacity = 4294967296 (4096.0MB)
used = 260451904 (248.38629150390625MB)
free = 4034515392 (3847.6137084960938MB)
6.064118444919586% used
G1
配置参数:-Xmx10g -Xms10g -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:+UseStringDeduplication -XX:-OmitStackTraceInFastThrow -XX:+UnlockCommercialFeatures -XX:+FlightRecorder
using thread-local object allocation.
Garbage-First (G1) GC with 4 thread(s)
Heap Configuration:
MinHeapFreeRatio = 40
MaxHeapFreeRatio = 70
MaxHeapSize = 10737418240 (10240.0MB)
NewSize = 1363144 (1.2999954223632812MB)
MaxNewSize = 6442450944 (6144.0MB)
OldSize = 5452592 (5.1999969482421875MB)
NewRatio = 2
SurvivorRatio = 8
MetaspaceSize = 21807104 (20.796875MB)
CompressedClassSpaceSize = 1073741824 (1024.0MB)
MaxMetaspaceSize = 17592186044415 MB
G1HeapRegionSize = 4194304 (4.0MB)
Heap Usage:
G1 Heap:
regions = 2560
capacity = 10737418240 (10240.0MB)
used = 2538915832 (2421.2988204956055MB)
free = 8198502408 (7818.7011795043945MB)
23.645496293902397% used
G1 Young Generation:
Eden Space:
regions = 411
capacity = 6652166144 (6344.0MB)
used = 1723858944 (1644.0MB)
free = 4928307200 (4700.0MB)
25.91424968474149% used
Survivor Space:
regions = 27
capacity = 113246208 (108.0MB)
used = 113246208 (108.0MB)
free = 0 (0.0MB)
100.0% used
G1 Old Generation:
regions = 168
capacity = 3972005888 (3788.0MB)
used = 701810680 (669.2988204956055MB)
free = 3270195208 (3118.7011795043945MB)
17.668923455533406% used
97967 interned Strings occupying 10971856 bytes.
配置参数:
-Xmx4g -Xms4g -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+UseStringDeduplication -XX:-OmitStackTraceInFastThrow -XX:+UnlockCommercialFeatures -XX:+FlightRecorder
using thread-local object allocation.
Garbage-First (G1) GC with 2 thread(s)
Heap Configuration:
MinHeapFreeRatio = 40
MaxHeapFreeRatio = 70
MaxHeapSize = 4294967296 (4096.0MB)
NewSize = 1363144 (1.2999954223632812MB)
MaxNewSize = 2575302656 (2456.0MB)
OldSize = 5452592 (5.1999969482421875MB)
NewRatio = 2
SurvivorRatio = 8
MetaspaceSize = 21807104 (20.796875MB)
CompressedClassSpaceSize = 1073741824 (1024.0MB)
MaxMetaspaceSize = 17592186044415 MB
G1HeapRegionSize = 2097152 (2.0MB)
Heap Usage:
G1 Heap:
regions = 2048
capacity = 4294967296 (4096.0MB)
used = 2691536968 (2566.849678039551MB)
free = 1603430328 (1529.1503219604492MB)
62.66722846776247% used
G1 Young Generation:
Eden Space:
regions = 1124
capacity = 2690646016 (2566.0MB)
used = 2357198848 (2248.0MB)
free = 333447168 (318.0MB)
87.60717069368667% used
Survivor Space:
regions = 7
capacity = 14680064 (14.0MB)
used = 14680064 (14.0MB)
free = 0 (0.0MB)
100.0% used
G1 Old Generation:
regions = 160
capacity = 1589641216 (1516.0MB)
used = 317560904 (302.8496780395508MB)
free = 1272080312 (1213.1503219604492MB)
19.976891691263244% used
50949 interned Strings occupying 5663896 bytes.