RFR(S): 8200230: [Graal] Compilations should not be enqueued before Graal is initialized
vladimir.kozlov at oracle.com
Tue Mar 27 14:48:35 UTC 2018
On 3/27/18 2:10 AM, Tobias Hartmann wrote:
> Thanks Vladimir!
> On 26.03.2018 19:01, Vladimir Kozlov wrote:
>> Looks good. Did you test these changes when Graal is enabled as JIT?
> Yes, I've tested with Graal but since we have lots of known issues, it's a bit hard to filter out
> the real ones. I haven't seen any related issues.
> Best regards,
>> On 3/26/18 3:35 AM, Tobias Hartmann wrote:
>>> 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.
>>> Best regards,
More information about the hotspot-compiler-dev