RFR: 8143587: G1 crashes with humongous object of size that almost fills an heap region
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:
> 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/
> On 2015-11-24 11:58, David Lindholm wrote:
>> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-gc-dev