RFR: 8290357: Drop HeapRegion::marked_bytes()

Sangheon Kim sangheki at openjdk.org
Tue Aug 2 17:25:43 UTC 2022


On Fri, 15 Jul 2022 11:06:27 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this removal of the `HeapRegion::_marked_bytes` member that records the bytes marked below tams in the recent mark as it is not really interesting in the removed places. I added comments to give reasons for this removal in the particular places for your review.
> 
> Testing: jtreg gc/g1, gha
> 
> Thanks,
>   Thomas

src/hotspot/share/gc/g1/heapRegion.cpp line 276:

> 274:                                                     bool during_conc_mark) {
> 275:   // We always scrub the region to make sure the entire region is
> 276:   // parsable after the self-forwarding point removal, and update _marked_bytes

Need an update with _marked_bytes.

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

PR: https://git.openjdk.org/jdk/pull/9511


More information about the hotspot-dev mailing list