Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8076541

Parallel GC registers Java heap twice to NMT

XMLWordPrintable

    • gc
    • b64

        Parallel GC heap initialization registers the java heap twice to NMT, i.e calls MemTracker::record_virtual_memory_type() twice.

        Once in ParallelScavengeHeap::initialize(), after the call to Universe::reserve_heap(), and within Universe::reserve_heap() at the end of the ReservedHeapSpace constructor.

        This is unnecessary.

              tschatzl Thomas Schatzl
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: