RFR: Elide more final field's write memory barrier with escape analysis result

Roland Westrelin roland.westrelin at oracle.com
Fri Oct 16 14:00:25 UTC 2015


Unfortunately that change caused a lot of failures during our nightly testing and we are backing it out.

https://bugs.openjdk.java.net/browse/JDK-8139750 is the bug that cover those failures. I could reproduce one of those failures by running java/util/Map/Defaults.java with options:
-server -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:+TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+AggressiveOpts -XX:-UseBiasedLocking

I created a redo issue in case this is resubmitted:

https://bugs.openjdk.java.net/browse/JDK-8139758

Roland.


More information about the hotspot-compiler-dev mailing list