3 ms·
The HotSpot JVM does return memory to the operating system. https://stackoverflow.com/a/30464183/839689 https://stackoverflow.com/a/30464183/839689 , https://ww
by nayuki 4y ago
The HotSpot JVM does return memory to the operating system. https://stackoverflow.com/a/30464183/839689 https://stackoverflow.com/a/30464183/839689 , https://www.stefankrause.net/wp/?p=14 https://www.stefankrause.net/wp/?p=14 , https://shipilev.net/jvm/anatomy-quarks/21-heap-uncommit/ https://shipilev.net/jvm/anatomy-quarks/21-heap-uncommit/ , https://openjdk.org/jeps/346 https://openjdk.org/jeps/346 , https://openjdk.org/jeps/351 https://openjdk.org/jeps/351 , https://malloc.se/blog/zgc-jdk15#incremental-uncommit https://malloc.se/blog/zgc-jdk15#incremental-uncommit
- vips7L 4y agoObviously it does. I said that typically it will expand the heap until Xmx is reached, which according to your links is exactly what G1 will do.