RFR (XS): 8076541: Parallel GC registers Java heap twice to NMT
jon.masamitsu at oracle.com
Tue Apr 21 17:32:24 UTC 2015
Change looks good.
On 04/21/2015 07:52 AM, Thomas Schatzl wrote:
> Hi all,
> can I have reviews for the following tiny change that fixes redundant
> method calls in parallel scavenge?
> ParallelScavengeHeap::initialize() calls
> MemTracker::record_virtual_memory_type() although
> Universe::reserve_heap() via the ReservedHeapSpace constructor already
> does that.
> Also, later it checks whether the the heap has been reserved or not, and
> exits the VM if necessary. Universe::reserve_heap() already does that.
> jprt, manual checking of NMT output to contain ReservedHeapSpace
> reservation for all gcs. Checked with ulimit -v that all collectors
> print the "Could not reserve enough space for XYKB object heap" message.
More information about the hotspot-gc-dev