RFR: 8309306: G1: Move is_obj_dead from HeapRegion to G1CollectedHeap

Ivan Walulya iwalulya at openjdk.org
Mon Jun 12 10:50:40 UTC 2023


On Thu, 1 Jun 2023 15:05:41 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Simple refactoring around `HeapRegion::is_obj_dead`.
> 
> Test: hotspot_gc

Minor nit!

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.

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

Marked as reviewed by iwalulya (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14265#pullrequestreview-1474620001
PR Review Comment: https://git.openjdk.org/jdk/pull/14265#discussion_r1226464552


More information about the hotspot-gc-dev mailing list