RFR: 8305755: [JVMCI] missing barriers in CompilerToVM.readFieldValue for Reference.referent
Erik Österlund
eosterlund at openjdk.org
Sat Apr 8 07:47:42 UTC 2023
On Fri, 7 Apr 2023 20:13:55 GMT, Tom Rodriguez <never at openjdk.org> wrote:
> And that will include the G1 barrier required for `Reference.get()` semantics as well? And a second question is whether we can safely perform this read for all Reference subtypes.
Yes, as long as you keep ON_UNKNOWN_OOP_REF. And yes, you can safely do this for all reference types.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13389#issuecomment-1500816879
More information about the hotspot-compiler-dev
mailing list