RFR: 8304144: G1: Remove unnecessary is_survivor check in G1ClearCardTableTask
Y. Srinivas Ramakrishna
ysr at openjdk.org
Tue Mar 21 22:37:42 UTC 2023
On Tue, 14 Mar 2023 15:02:57 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple removing redundant check.
>
> Test: tier1-6
I agree, some refactoring/cleanups etc. along with the changes you pointed out above might be worthwhile in the fullness of time, or would be moot if/when `g1_younger_gen_val` and surrounding code were to go away. Thanks for the extra background and the discussion and, yes, this looks fine to me in any case with or without the assert, just to bring the review/discussion to a conclusion from my end :-)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13023#issuecomment-1478683855
More information about the hotspot-gc-dev
mailing list