Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8296263 Uniform APIs for mapping archived heap regions
  3. JDK-8310428

Add CollectedHeap::reserved_range() API to return reserved heap memory range

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 22
    • hotspot
    • None
    • gc

      To implement https://bugs.openjdk.org/browse/JDK-8310160 we need to add an API that returns the reserved heap memory range. All collectors except ZGC set CollectedHeap::_reserved during init but only some of them expose it as an API - ParallelScavengeHeap::reserved_region(), GenCollectedHeap::reserved_region() and ShenandoahHeap:::reserved_region().
      Instead of having each collector exposing an API we can instead have a common API CollectedHeap::reserved_region().

            asmehra Ashutosh Mehra
            asmehra Ashutosh Mehra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: