G1gc compaction algorithm

Martin Makundi martin.makundi at koodaripalvelut.com
Wed Jul 16 03:45:22 UTC 2014


Hi!

Humongous allocation fails when there is not enough contiguous free space
in memory.

How does g1gc compaction algorithm work, does it compact only within a
region or does it attempt to compact in a whole-heap-defragmentation way?
The latter would reduce the probability of "humongous allocation failure".
And if this is possible, is there a parameter/s that can be changed to tune
this?

**
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20140716/87e6e683/attachment.html>


More information about the hotspot-gc-use mailing list