[11] RFR(S): 8200230: [Graal] Compilations should not be enqueued before Graal is initialized
Tobias Hartmann
tobias.hartmann at oracle.com
Mon Mar 26 10:35:33 UTC 2018
Hi,
please review the following patch:
https://bugs.openjdk.java.net/browse/JDK-8200230
http://cr.openjdk.java.net/~thartmann/8200230/webrev.00/
Looking at the PrintCompilation output when running Graal with -Xbatch and -XX:-TieredCompilation
shows lots of blocking compilations that time out because Graal is not yet initialized. Execution
with -version therefore takes 41 seconds on my machine with a fastdebug build.
With -Xbatch, we should only allow compilations to be enqueued when Graal is fully initialized. This
reduces execution time with -version to 2.5 seconds on my machine.
Thanks to Doug Simon for providing the patch.
Best regards,
Tobias
More information about the hotspot-compiler-dev
mailing list