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

Rahul Raghavan rraghavan at openjdk.java.net
Fri Apr 30 08:26:56 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.

This pull request has now been integrated.

Changeset: 3554dc29
Author:    Rahul Raghavan <rraghavan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/3554dc299dd242ffea63be9c5958be7a08d53509
Stats:     49 lines in 2 files changed: 48 ins; 0 del; 1 mod

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

Reviewed-by: chagedorn, thartmann

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

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


More information about the hotspot-compiler-dev mailing list