Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vips7L
· 5y ago · 0 comments
IIRC it really depends on the chosen GC. ZGC will return memory back to the OS but older GCs will just hold on to the memory forever (up until -Xmx)
Comments
[–]
native_samples
5y ago
That's true but even modern GCs like G1 or ZGC won't do background GC work unless the program is idle. So for a benchmark like this it doesn't matter.