JDK-8310428 : Add CollectedHeap::reserved_range() API to return reserved heap memory range
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 22
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2023-06-20
  • Updated: 2023-12-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Description
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().
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14595 Date: 2023-06-21 15:30:17 +0000
21-06-2023