RFR: 8309306: G1: Move is_obj_dead from HeapRegion to G1CollectedHeap
Albert Mingkun Yang
ayang at openjdk.org
Mon Jun 12 11:16:07 UTC 2023
On Mon, 12 Jun 2023 10:47:35 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:
>> Simple refactoring around `HeapRegion::is_obj_dead`.
>>
>> Test: hotspot_gc
>
> src/hotspot/share/gc/g1/heapRegion.hpp line 524:
>
>> 522:
>> 523: // Determine if an address is in the parsable or the to-be-scrubbed area.
>> 524: inline bool is_in_parsable_area(const void* const addr) const;
>
> spacing to align method names seems new to me.
There are some in `g1FullCollector.hpp`. I think this alignment groups the identical part while highlights the diff.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14265#discussion_r1226488524
More information about the hotspot-gc-dev
mailing list