RFR: 8144964: JVMCI compilations need to be disabled until the module system is initialized

Christian Thalinger christian.thalinger at oracle.com
Thu Mar 31 00:24:43 UTC 2016


> On Mar 30, 2016, at 2:01 PM, Christian Thalinger <christian.thalinger at oracle.com> wrote:
> 
> https://bugs.openjdk.java.net/browse/JDK-8144964
> http://cr.openjdk.java.net/~twisti/8144964/webrev.01/
> 
> JVMCI compilations need to be disabled until the module system is initialized.  Basically, only allow tier 1-3 compilations until it's up.

Interestingly VM startup is faster:

cthaling at macbook:~/ws/jdk9/hs-comp$ TIMEFORMAT="%3R"; for i in `seq 1 10`; do time ./build/macosx-x86_64-normal-server-release/images/jdk/bin/java HelloWorld > /dev/null; done
0.168
0.161
0.235
0.178
0.152
0.154
0.151
0.170
0.153
0.153
cthaling at macbook:~/ws/jdk9/hs-comp$ TIMEFORMAT="%3R"; for i in `seq 1 10`; do time ./build/macosx-x86_64-normal-server-release/images/jdk/bin/java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler HelloWorld > /dev/null; done
0.130
0.126
0.132
0.131
0.129
0.176
0.137
0.166
0.130
0.138

Presumably because we don’t do JVMCI compilations in that short amount of time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160330/8b80f17f/attachment.html>


More information about the hotspot-compiler-dev mailing list