[jdk11u-dev] RFR: 8270306: [TESTBUG] Add smoke test for JVMCI bootstrapping
Michal Karm Babacek
github.com+691097+karm at openjdk.java.net
Thu Jul 15 12:13:35 UTC 2021
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.
-------------
Commit messages:
- 8226533: JVMCI: Add TestBootstrapJVMCIOption
Changes: https://git.openjdk.java.net/jdk11u-dev/pull/122/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=122&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8270306
Stats: 50 lines in 1 file changed: 50 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk11u-dev/pull/122.diff
Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/122/head:pull/122
PR: https://git.openjdk.java.net/jdk11u-dev/pull/122
More information about the jdk-updates-dev
mailing list