RFR: 8346280: C2: implement late barrier elision for G1 [v2]

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Fri Jan 31 14:09:45 UTC 2025


On Fri, 31 Jan 2025 08:55:07 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> src/hotspot/share/gc/shared/c2/barrierSetC2.cpp line 956:
>> 
>>> 954: static bool is_unknown(intptr_t offset) {
>>> 955:   return offset == Type::OffsetBot;
>>> 956: }
>> 
>> pre-existing: these two predicates would be nice to have elsewhere in C2 code too (i.e. there's quite a lot of these predicates inlined elsewhere).
>
> Maybe something for another RFE of course.

Thanks, this will make a good starter RFE.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23235#discussion_r1937371221


More information about the hotspot-compiler-dev mailing list