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

Tom Rodriguez never at openjdk.org
Fri Apr 7 17:37:36 UTC 2023


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.

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

Commit messages:
 - Fix benign assertion failure
 - 8305755: [JVMCI] missing barriers in CompilerToVM.readFieldValue for Reference.referent

Changes: https://git.openjdk.org/jdk/pull/13389/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13389&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8305755
  Stats: 6 lines in 2 files changed: 4 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/13389.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13389/head:pull/13389

PR: https://git.openjdk.org/jdk/pull/13389


More information about the hotspot-compiler-dev mailing list