Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8369044

[lworld] Interpreter does not emit barrier at the end of java.lang.Object::<init>

XMLWordPrintable

      Even with JDK-8367767, the interpreter still does not adhere to the new memory model rules for strict instance fields.

      Attached test fails:
      build/fastdebug/jdk/bin/javac --enable-preview -source 26 --add-exports java.base/jdk.internal.vm.annotation=ALL-UNNAMED StrictInitTest.java && while build/fastdebug/jdk/bin/java --enable-preview --add-exports java.base/jdk.internal.vm.annotation=ALL-UNNAMED -Xint StrictInitTest; do :; done;

      Detailed analysis can be found here:
      https://github.com/openjdk/valhalla/pull/1647/files#r2398611543

            fparain Frederic Parain
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: