RFR: 8272216: G1: replace G1ParScanThreadState::_dest with a constant [v2]

Albert Mingkun Yang ayang at openjdk.java.net
Tue Aug 10 10:48:55 UTC 2021


On Tue, 10 Aug 2021 10:34:25 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review
>
> src/hotspot/share/gc/g1/g1ParScanThreadState.cpp line 361:
> 
>> 359:     }
>> 360:   }
>> 361:   assert(region_attr.is_young() || region_attr.is_old(), "must be either Young or Old");
> 
> I think I'd rather have this assert at the beginning of the function.

Revised.

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

PR: https://git.openjdk.java.net/jdk/pull/5065



More information about the hotspot-gc-dev mailing list