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

Tom Rodriguez never at openjdk.org
Wed Apr 12 19:32:40 UTC 2023


On Tue, 11 Apr 2023 00:15:41 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.
>
> Tom Rodriguez has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add MO_SEQ_CST

Thanks.  I've added MO_SEQ_CST to the oop case and changed the other cases to use HeapAccess with MO_SEQ_CST.

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

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


More information about the hotspot-compiler-dev mailing list