[jdk11u-dev] RFR: 8270306: [TESTBUG] Add smoke test for JVMCI bootstrapping

Severin Gehwolf sgehwolf at openjdk.java.net
Thu Jul 15 12:13:36 UTC 2021


On Mon, 12 Jul 2021 10:32:58 GMT, Michal Karm Babacek <github.com+691097+Karm at openjdk.org> wrote:

> Test fails with the undermentioned when fix for 8226533 is reverted (ed48e5cb).
> 
> 
> ----------System.err:(67/7089)----------
>  stdout: [Bootstrapping JVMCI.Thread[JVMCI CompilerThread0,9,system]: Compilation of org.graalvm.compiler.phases.common.util.HashSetNodeEventListener.changed(Graph$NodeEvent, Node) failed: org.graalvm.compiler.graph.GraalGraphError: java.lang.InternalError: Effectively static method org.graalvm.compiler.graph.Node.int org.graalvm.compiler.graph.Node.hashCode() should be handled in Java code
>     at node: 113|LoadMethod
>     at exact jdk.internal.vm.compiler.collections.EconomicMapImpl.getHashIndex(Object):int
>     ...
> 
> 
> The test passes with the fix in place.
> 
> The test requires JVMCI implementation compiler to be present,
> i.e. it makes sense only in versions before https://openjdk.java.net/jeps/410.

@Karm works for Red Hat and should be covered by the RH OCA.

@Karm Please also change the PR title to match the bug:


8270306: [TESTBUG] Add smoke test for JVMCI bootstrapping

@Karm Please put this PR on hold for now. There seems to be a preference to have it JDK head too. See: https://bugs.openjdk.java.net/browse/JDK-8270306?focusedCommentId=14433838&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14433838 We can resume this one once it's in the latest JDK.

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/122


More information about the jdk-updates-dev mailing list