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
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
- caused by
-
JDK-8367767 [lworld] Interpreter adherence to new memory model rules for strict instance fields
-
- Resolved
-
- links to
-
Commit(lworld) openjdk/valhalla/a687d94e
-
Review(lworld) openjdk/valhalla/1652