RFR: 8264395: WB_EnqueueInitializerForCompilation fails with "method holder must be initialized" when called for uninitialized class [v2]

Rahul Raghavan rraghavan at openjdk.java.net
Fri Apr 30 07:53:51 UTC 2021

On Thu, 29 Apr 2021 10:36:16 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> Found unavailable/bad comp levels handled in WhiteBox::compile_method() or later in CompileBroker::compile_method.
> Right but wouldn't we hit an assert there if C2 is not available?

For the case scenario mentioned found that the test simply displays a WB whitebox error that is ignored.
So seems we can go ahead with the current test case itself. Thanks


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

More information about the hotspot-compiler-dev mailing list