RFR: 8305755: [JVMCI] missing barriers in CompilerToVM.readFieldValue for Reference.referent

Tom Rodriguez never at openjdk.org
Fri Apr 7 20:16:43 UTC 2023


On Fri, 7 Apr 2023 17:30:39 GMT, Tom Rodriguez <never at openjdk.org> wrote:

> Add missing GC barrier for reflective read.  I'm not sure the idiom I've chosen it the correct one so please correct me if there's a better way to write this.  In testing, this resolved the issue.

And that will include the G1 barrier required for `Reference.get()` semantics as well?

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

PR Comment: https://git.openjdk.org/jdk/pull/13389#issuecomment-1500607688


More information about the hotspot-compiler-dev mailing list