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

Tobias Hartmann thartmann at openjdk.java.net
Fri Apr 30 08:12:50 UTC 2021


On Thu, 29 Apr 2021 10:34:12 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.
>
> Rahul Raghavan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8264395: WB_EnqueueInitializerForCompilation fails with "method holder must be initialized" when called for uninitialized class

Marked as reviewed by thartmann (Reviewer).

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

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


More information about the hotspot-compiler-dev mailing list