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

Christian Hagedorn chagedorn at openjdk.java.net
Wed Apr 28 13:02:55 UTC 2021


On Wed, 28 Apr 2021 09:39:08 GMT, Rahul Raghavan <rraghavan at openjdk.org> wrote:

> https://bugs.openjdk.java.net/browse/JDK-8264395
> 
> Reported assert failure, during compilation triggered by Whitebox API `enqueueInitializerForCompilation` method,
> is fixed by adding support to to bail out if a class not initialized yet.
> 
> Confirmed the new `compiler/whitebox/TestEnqueueInitializerForCompilation.java` test passes with the proposed `whitebox.cpp` changes and fails with reported assert without this fix.
> No issues with tier tests.

Looks good!

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

Marked as reviewed by chagedorn (Reviewer).

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


More information about the hotspot-compiler-dev mailing list