RFR(S): 8200230: [Graal] Compilations should not be enqueued before Graal is initialized
tobias.hartmann at oracle.com
Mon Mar 26 10:35:33 UTC 2018
please review the following patch:
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.
More information about the hotspot-compiler-dev