RFR: 8305351: C2 setScopedValueCache intrinsic doesn't use access API
Erik Österlund
eosterlund at openjdk.org
Tue Apr 4 12:48:16 UTC 2023
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.
-------------
Commit messages:
- 8305351: C2 setScopedValueCache intrinsic doesn't use access API
Changes: https://git.openjdk.org/jdk/pull/13324/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13324&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8305351
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/13324.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13324/head:pull/13324
PR: https://git.openjdk.org/jdk/pull/13324
More information about the hotspot-compiler-dev
mailing list