RFR: 8305351: C2 setScopedValueCache intrinsic doesn't use access API
Erik Österlund
eosterlund at openjdk.org
Wed Apr 5 09:27:15 UTC 2023
On Wed, 5 Apr 2023 09:01:56 GMT, Andrew Haley <aph at openjdk.org> wrote:
>> The setScopedValueCache intrinsic for C2 doesn't use the access API. Instead, we store into an OopHandle with a raw store. That doesn't necessarily play well with all GCs, for example Shenandoah and generational ZGC. We should use the access API to ensure the right barriers are emitted.
>
> Marked as reviewed by aph (Reviewer).
Thanks for the reviews @theRealAph, @vnkozlov and @robcasloz!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13324#issuecomment-1497184043
More information about the hotspot-compiler-dev
mailing list