RFR: 8316453: [JVMCI] Using Xcomp on jargraal must eagerly initialize JVMCI

Tobias Hartmann thartmann at openjdk.org
Thu Sep 21 13:34:39 UTC 2023


On Mon, 18 Sep 2023 21:58:55 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> This PR fixes the behavior of jargraal under `-Xcomp` such that compilations of methods executed after VM startup are blocking compilations.
> 
> Note that this is different than https://bugs.openjdk.org/browse/JDK-8200230 in that compilations during VM startup (i.e. before main class) may be either skipped (VM not in yet state where JVMCI can be initialized) or non-blocking (JVMCI not yet initialized). That's fine as `-Xcomp`-based tests only have expectations on compilations of test classes being blocking.

Looks reasonable to me.

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

Marked as reviewed by thartmann (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15801#pullrequestreview-1637845306


More information about the hotspot-runtime-dev mailing list