RFR: 8143587: G1 crashes with humongous object of size that almost fills an heap region

Jon Masamitsu jon.masamitsu at oracle.com
Tue Nov 24 18:54:04 UTC 2015


Could be always just set top as you've done for the case where there
isn't room for a filler object at the end of a humongous region? And
  never use a filler object there?


On 11/24/2015 04:50 AM, David Lindholm wrote:
> Hi,
> After offline discussions with Mikael I have updated the webrev (and 
> the title of the bug).
> Webrev: http://cr.openjdk.java.net/~david/JDK-8143587/webrev.01/
> Thanks,
> David
> On 2015-11-24 11:58, David Lindholm wrote:
>> Hi,
>> Please review the following patch that fixes the case where we 
>> allocate a humongous object, and where the space left in the 
>> humongous region cannot fit a filler object. In that case we must set 
>> top of the last heap region to the end of the object. Also, there is 
>> a new jtreg test which crashes the JVM before this patch, and works 
>> fine after.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8143587
>> Webrev: http://cr.openjdk.java.net/~david/JDK-8143587/webrev.00/
>> Testing: Passed jprt including new test.
>> Thanks,
>> David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20151124/2559f988/attachment.htm>

More information about the hotspot-gc-dev mailing list