RFR: 8309065: Move the logic to determine archive heap location from CDS to G1 GC [v2]

Ashutosh Mehra duke at openjdk.org
Fri Jun 2 13:54:08 UTC 2023


On Fri, 2 Jun 2023 13:16:04 GMT, Ashutosh Mehra <duke at openjdk.org> wrote:

> I think Thomas's point is, the requested range should be passed to the alloc_archive_regions() API, even though the collector may simply ignore it.

@tschatzl @iklam Other collectors may ignore the requested addr, but G1 can just allocate the regions at the requested addr, right? Do we also need the fallback to allocating at the top of heap if for some reason allocation at requested addr fails?

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

PR Comment: https://git.openjdk.org/jdk/pull/14208#issuecomment-1573773258


More information about the hotspot-dev mailing list