RFR(S): 8138681: Runtime.getFreeMemory() reports wrong value after humongous allocation.
david.lindholm at oracle.com
Thu Nov 19 10:08:28 UTC 2015
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
This is done by setting top=end and adding dummy/filler objects to the
end of the last region.
Testing: Passed JPRT, vm.gc testlist and the attached test from the bug.
More information about the hotspot-gc-dev