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

Rahul Raghavan rraghavan at openjdk.java.net
Thu Apr 29 10:34:12 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3757/files
  - new: https://git.openjdk.java.net/jdk/pull/3757/files/5a737641..bae30303

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3757&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3757&range=00-01

  Stats: 13 lines in 1 file changed: 0 ins; 9 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3757.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3757/head:pull/3757

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


More information about the hotspot-compiler-dev mailing list