RFR: 8358483: G1: Remove G1HeapRegionManager::num_available_regions
Ivan Walulya
iwalulya at openjdk.org
Sat Jun 7 08:29:50 UTC 2025
On Tue, 3 Jun 2025 09:10:28 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple cleanup of moving an API from `G1HeapRegionManager` to `G1CollectedHeap`.
>
> Test: tier1
Is there any benefit to implementing these helper functions for `_hrm` in `G1CollectedHeap` instead of having callers directly call the methods in `_hrm` through an accesser `G1CollectedHeap::hrm()`? I see thatwe implement many helper functions that just call similarly named methods on `_hrm`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25611#issuecomment-2952155570
More information about the hotspot-gc-dev
mailing list