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

Ashutosh Mehra duke at openjdk.org
Wed Jun 21 18:14:12 UTC 2023


On Wed, 21 Jun 2023 15:30:17 GMT, Ashutosh Mehra <duke at openjdk.org> wrote:

> Please review this patch to add a new API `CollectedHeap::reserved_range()`. The changes are extracted out from https://github.com/openjdk/jdk/pull/14520 as per the suggestion [here](https://github.com/openjdk/jdk/pull/14520#discussion_r1234991165). Support for ZGC is not implemented yet as it can have discontiguous heap regions and unlike other collectors, it does not set `CollectedHeap::_reserved`.

fyi - @tstuefe

Sorry, I had to force push a commit to update the commit message to include the issue number.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14595#issuecomment-1601065834
PR Comment: https://git.openjdk.org/jdk/pull/14595#issuecomment-1601343148


More information about the hotspot-dev mailing list