JDK-8354366 : [lworld] VirtualObjectDebugInfoTest fails after merging jdk-25+16
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-04-11
  • Updated: 2025-05-22
  • Resolved: 2025-05-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaFixed
Description
Debug builds, all platforms

command: junit -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:-UseJVMCICompiler jdk.vm.ci.code.test.VirtualObjectDebugInfoTest
reason: User specified action: run junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:-UseJVMCICompiler jdk.vm.ci.code.test.VirtualObjectDebugInfoTest
started: Fri Apr 11 10:03:37 CEST 2025
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.internal.vm.ci --add-exports jdk.internal.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED --add-exports jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED --add-exports jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED --add-exports jdk.internal.vm.ci/jdk.vm.ci.code.site=ALL-UNNAMED --add-exports jdk.internal.vm.ci/jdk.vm.ci.runtime=ALL-UNNAMED\ --add-exports jdk.internal.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED --add-exports jdk.internal.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED --add-exports jdk.internal.vm.ci/jdk.vm.ci.riscv64=ALL-UNNAMED
Process id: 2333612
finished: Fri Apr 11 10:03:39 CEST 2025
elapsed time (seconds): 2.303
configuration:
Boot Layer
  add modules: jdk.internal.vm.ci
  add exports: jdk.internal.vm.ci/jdk.vm.ci.aarch64   ALL-UNNAMED
               jdk.internal.vm.ci/jdk.vm.ci.amd64     ALL-UNNAMED
               jdk.internal.vm.ci/jdk.vm.ci.code      ALL-UNNAMED
               jdk.internal.vm.ci/jdk.vm.ci.code.site ALL-UNNAMED
               jdk.internal.vm.ci/jdk.vm.ci.hotspot   ALL-UNNAMED
               jdk.internal.vm.ci/jdk.vm.ci.meta      ALL-UNNAMED
               jdk.internal.vm.ci/jdk.vm.ci.riscv64   ALL-UNNAMED
               jdk.internal.vm.ci/jdk.vm.ci.runtime   ALL-UNNAMED

STDOUT:
STDERR:
STARTED    jdk.vm.ci.code.test.VirtualObjectDebugInfoTest::testBuildObjectStack 'testBuildObjectStack'
java.lang.AssertionError: expected:<jdk.vm.ci.code.test.VirtualObjectDebugInfoTest$TestClass@353afd81> but was:<jdk.vm.ci.code.test.VirtualObjectDebugInfoTest$TestClass@4044d428>
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:120)
        at org.junit.Assert.assertEquals(Assert.java:146)
        at jdk.vm.ci.code.test.CodeInstallationTest.test(CodeInstallationTest.java:118)
        at jdk.vm.ci.code.test.DebugInfoTest.test(DebugInfoTest.java:61)
        at jdk.vm.ci.code.test.DebugInfoTest.test(DebugInfoTest.java:52)
        at jdk.vm.ci.code.test.VirtualObjectDebugInfoTest.testBuildObjectStack(VirtualObjectDebugInfoTest.java:196)
        at java.base/java.lang.reflect.Method.invoke(Method.java:565)
FAILED     jdk.vm.ci.code.test.VirtualObjectDebugInfoTest::testBuildObjectStack 'testBuildObjectStack' [332ms]
Comments
[~dsimms] Do you plan to work on this or should we re-assign?
25-04-2025

A pull request was submitted for review. Branch: lworld URL: https://git.openjdk.org/valhalla/pull/1430 Date: 2025-04-14 08:34:34 +0000
14-04-2025