Relates :
|
|
Relates :
|
When G1 tries to do a humongous allocation but cannot find enough contiguous regions in the heap it will attempt to do a collection pause in case this pause reclaims enough contiguous space for the allocation to succeed. Currently, the attempt to do a collection pause does not check whether the GC locker is active or not and, if it's active, it will keep attempting to do back-to-back collection pauses which will be unsuccessful. Instead, it should stall until the GC locker becomes inactive.
|