RFR: 8262323: do not special case JVMCI in tiered compilation policy

Doug Simon dnsimon at openjdk.java.net
Mon Mar 8 13:31:20 UTC 2021


On Fri, 5 Mar 2021 15:08:06 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> This PR moves some Graal specific code from shared compilation policy code into JVMCI specific files and tunes it better for libgraal.

src/hotspot/share/compiler/compilerDefinitions.cpp line 455:

> 453:         // of skipping full profiling is much worse for performance than the
> 454:         // queue backing up.
> 455:         FLAG_SET_DEFAULT(Tier3DelayOn, 100000);

This large value makes it clear that the downgrade to tier2 compilation should never happen; the VM has other problems if the compilation queue ever backs up by this amount.

-------------

PR: https://git.openjdk.java.net/jdk/pull/2847


More information about the hotspot-compiler-dev mailing list