RFR(S): 8138681: Runtime.getFreeMemory() reports wrong value after humongous allocation.
David Lindholm
david.lindholm at oracle.com
Thu Nov 19 10:08:28 UTC 2015
Hi,
Please review this patch that changes how the usage of humongous regions
are calculated. Since we (currently) cannot use the remainder of the
last humongous region, we say that the complete region is used for the
humongous object.
This is done by setting top=end and adding dummy/filler objects to the
end of the last region.
Bug: https://bugs.openjdk.java.net/browse/JDK-8138681
Webrev: http://cr.openjdk.java.net/~david/JDK-8138681/webrev.00/
Testing: Passed JPRT, vm.gc testlist and the attached test from the bug.
Thanks,
David
More information about the hotspot-gc-dev
mailing list