[lworld] sun/tools/jhsdb/JStackStressTest.java fails with Doesn't appear to be a HotSpot VM

XMLWordPrintable

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

      The following test fails in the Valhalla CI:

      sun/tools/jhsdb/JStackStressTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(9/415)----------
      command: main JStackStressTest
      reason: User specified action: run main/timeout=240 JStackStressTest
      exclusiveAccess wait time (seconds): 12.256
      started: Wed Jan 14 06:54:30.943 GMT 2026
      Mode: othervm [test requires non-default system module]
      Additional options from @modules: --add-modules jdk.hotspot.agent,java.management
      Process id: 2704
      finished: Wed Jan 14 06:54:38.492 GMT 2026
      elapsed time (seconds): 7.549
      ----------configuration:(3/61)----------
      Boot Layer
        add modules: jdk.hotspot.agent java.management

      ----------System.out:(53/3617)----------
      STDOUT: Executable=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-35/macosx-aarch64-debug.jdk/jdk-27/fastdebug/bin/java
      STDOUT: Identifier=com.oracle.java.java
      STDOUT: Format=Mach-O thin (arm64)
      STDOUT: CodeDirectory v=20400 size=749 flags=0x2(adhoc) hashes=13+7 location=embedded
      Target JDK is adhoc signed, but not hardened.
      STDOUT: Signature=adhoc
      STDOUT: Info.plist entries=5
      STDOUT: TeamIdentifier=not set
      STDOUT: Sealed Resources=none
      STDOUT: Internal requirements count=0 size=12
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      Starting Jshell
      [JShell]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-35/macosx-aarch64-debug.jdk/jdk-27/fastdebug/bin/jshell -J-Xmx768m -J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/25/37/bundles/macos-aarch64/jdk-25_macos-aarch64_bin.tar.gz/jdk-25.jdk/Contents/Home -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S67241/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f64cc130-e636-41b6-ba31-c33d51541d0a/runs/33f796ae-9666-4e94-aadf-a20238b3c9c6/testoutput/test-support/jtreg_open_test_jdk_jdk_svc/tmp -J-ea -J-esa -J-XX:NativeMemoryTracking=detail
      [2026-01-14T06:54:31.617002Z] Gathering output for process 2708
      ###### Starting jstack iteration 1 against 2708
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      [2026-01-14T06:54:31.713017Z] Gathering output for process 2711
      [2026-01-14T06:54:31.713712Z] Waiting for completion for process 2711
      [2026-01-14T06:54:32.066314Z] Waiting for completion finished for process 2711
      Output and diagnostic info for process 2711 was saved into 'pid-2711-output.log'
      jhsdb jstack stdout:
      Attaching to process ID 2708, please wait...

      jhsdb jstack stderr:
      Error attaching to process: Doesn't appear to be a HotSpot VM (could not find symbol "gHotSpotVMTypes" in remote process)
      sun.jvm.hotspot.debugger.DebuggerException: Doesn't appear to be a HotSpot VM (could not find symbol "gHotSpotVMTypes" in remote process)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:434)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:344)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:141)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:203)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:134)
      at jdk.hotspot.agent/sun.jvm.hotspot.tools.JStack.runWithArgs(JStack.java:90)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJSTACK(SALauncher.java:306)
      at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:507)
      Caused by: sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypes" in any of the known library names (libjvm.dylib)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:622)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:154)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:89)
      at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupVM(HotSpotAgent.java:425)
      ... 7 more


      ###### End of all output for iteration 1 which took 477ms
      [JShell] | Welcome to JShell -- Version 27-valhalla
      [JShell] | For an introduction type: /help intro
      [JShell] jshell> | Goodbye
      jshell Output: | Welcome to JShell -- Version 27-valhalla
      | For an introduction type: /help intro

      jshell> | Goodbye

      ----------System.err:(38/2646)----------

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

              Created:
              Updated: