serviceability/sa/TestObjectMonitorIterate.java fails with No suitable match for type of address

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: repo-valhalla
    • Component/s: hotspot
    • svc

      The following test failed in the Valhalla CI:

      serviceability/sa/TestObjectMonitorIterate.java

      Here's a snippet from the log file:

      #section:driver
      ----------messages:(8/559)----------
      command: driver TestObjectMonitorIterate
      reason: User specified action: run driver TestObjectMonitorIterate
      started: Mon Jan 12 04:07:18.853 UTC 2026
      Mode: othervm [test requires non-default system module]
      Additional options from @modules: --add-modules jdk.hotspot.agent --add-exports jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED --add-exports jdk.hotspot.agent/sun.jvm.hotspot.oops=ALL-UNNAMED --add-exports jdk.hotspot.agent/sun.jvm.hotspot.runtime=ALL-UNNAMED
      Process id: 4049914
      finished: Mon Jan 12 04:07:21.912 UTC 2026
      elapsed time (seconds): 3.059
      ----------configuration:(6/277)----------

      <snip>

      ----------System.err:(30/1890)----------
       stdout: [Monitor found: jdk/test/lib/apps/LingeredApp$SteadyStateLock
      Monitor found: object is null
      Monitor found: object is null
      Monitor found: java/lang/Object
      Monitor found: java/lang/Class
      ];
       stderr: [Exception in thread "main" sun.jvm.hotspot.types.WrongTypeException: No suitable match for type of address 0x00007000002dee68
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.InstanceConstructor.newWrongTypeException(InstanceConstructor.java:62)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.VirtualBaseConstructor.instantiateWrapperFor(VirtualBaseConstructor.java:111)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor(Metadata.java:80)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.Oop.getKlassForOopHandle(Oop.java:224)
      at jdk.hotspot.agent/sun.jvm.hotspot.oops.ObjectHeap.newOop(ObjectHeap.java:180)
      at TestObjectMonitorIterate.test(TestObjectMonitorIterate.java:66)
      at TestObjectMonitorIterate.main(TestObjectMonitorIterate.java:103)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:549)
      at TestObjectMonitorIterate.createAnotherToAttach(TestObjectMonitorIterate.java:87)
      at TestObjectMonitorIterate.main(TestObjectMonitorIterate.java:98)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1516)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      ----------rerun:(47/9371)*----------

            Assignee:
            Unassigned
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: