Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8348864

serviceability/sa/ClhsdbJstackXcompStress.java fails on Windows aarch64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 21, 23, 25
    • core-svc
    • aarch64
    • windows

      serviceability/sa/ClhsdbJstackXcompStress.java.ClhsdbJstackXcompStress
      fails on Windows aarch64, due to the jhsdb jstack _thread_in_java section
      missing the stack trace.

      From doing some analysis of the jhsdb jstack output the "_thread_in_java"
      section is missing the stack traces, eg, only contains this:
      "main" #1 prio=5 tid=0x00000227511aa9a0 nid=9592 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_in_java


      Testcase output:
      Command line: ['C:\\Users\\jenkins\\workspace\\Grinder\\jdkbinary\\j2sdk-image\\bin\\java.exe' '-ea' '-esa' '-Xmx512m' '-XX:+UseCompressedOops' '-Xcomp' '-XX:CompileCommand=dontinline,LingeredAppWithRecComputation.factorial' '-XX:CompileCommand=compileonly,LingeredAppWithRecComputation.testLoop' '-XX:CompileCommand=compileonly,LingeredAppWithRecComputation.factorial' '-cp' 'C:\\Users\\jenkins\\workspace\\Grinder\\aqa-tests\\TKG\\output_17379755399803\\hotspot_custom_0\\work\\classes\\0\\serviceability\\sa\\ClhsdbJstackXcompStress.d;C:\\Users\\jenkins\\workspace\\Grinder\\aqa-tests\\TKG\\output_17379755399803\\hotspot_custom_0\\work\\classes\\0\\test\\lib' 'LingeredAppWithRecComputation' 'f193ec5b-4e3e-46d9-9ed8-dd13767f442a.lck']^M
      LingeredApp startup took 1054ms^M
      Check for hs_err_pid/core/mdmp files:^M
      None.^M
      Started LingeredAppWithRecComputation with pid 45456^M
      [2025-01-27T10:59:20.383861100Z] Gathering output for process 23392^M
      DEBUG: []^M
      [2025-01-27T10:59:21.524486400Z] Gathering output for process 28652^M
      DEBUG: []^M
      [2025-01-27T10:59:22.481661Z] Gathering output for process 35476^M
      DEBUG: []^M
      [2025-01-27T10:59:23.451537600Z] Gathering output for process 21788^M
      DEBUG: []^M
      [2025-01-27T10:59:24.374563600Z] Gathering output for process 17884^M
      DEBUG: []^M
      [2025-01-27T10:59:25.328845800Z] Gathering output for process 44044^M
      DEBUG: []^M
      [2025-01-27T10:59:26.252829500Z] Gathering output for process 26608^M
      DEBUG: []^M
      [2025-01-27T10:59:27.190328Z] Gathering output for process 46680^M
      DEBUG: []^M
      [2025-01-27T10:59:28.112195500Z] Gathering output for process 12436^M
      DEBUG: []^M
      [2025-01-27T10:59:29.080941900Z] Gathering output for process 37944^M
      DEBUG: []^M
      [2025-01-27T10:59:30.002811800Z] Gathering output for process 50656^M
      DEBUG: []^M
      [2025-01-27T10:59:30.924683300Z] Gathering output for process 8704^M
      DEBUG: []^M
      [2025-01-27T10:59:31.893428200Z] Gathering output for process 21900^M
      DEBUG: []^M
      [2025-01-27T10:59:32.830922600Z] Gathering output for process 49492^M
      DEBUG: []^M
      [2025-01-27T10:59:33.768416100Z] Gathering output for process 52356^M
      DEBUG: []^M
      [2025-01-27T10:59:34.659039Z] Gathering output for process 31936^M
      DEBUG: []^M
      [2025-01-27T10:59:35.596534100Z] Gathering output for process 8548^M
      DEBUG: []^M
      [2025-01-27T10:59:36.659027500Z] Gathering output for process 33540^M
      DEBUG: []^M
      [2025-01-27T10:59:37.596527800Z] Gathering output for process 52864^M
      DEBUG: []^M
      [2025-01-27T10:59:38.518394100Z] Gathering output for process 37348^M
      DEBUG: []^M
       LingeredApp stdout: [CompileCommand: dontinline LingeredAppWithRecComputation.factorial bool dontinline = true
      CompileCommand: compileonly LingeredAppWithRecComputation.testLoop bool compileonly = true
      CompileCommand: compileonly LingeredAppWithRecComputation.factorial bool compileonly = true
      ];
       LingeredApp stderr: []
       LingeredApp exitValue = 0^M
      ----------System.err:(18/1212)----------^M
      java.lang.RuntimeException: Expected jstack output to contain 'Compiled frame'^M
              at ClhsdbJstackXcompStress.runJstackInLoop(ClhsdbJstackXcompStress.java:84)^M
              at ClhsdbJstackXcompStress.main(ClhsdbJstackXcompStress.java:100)^M
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)^M
              at java.base/java.lang.reflect.Method.invoke(Method.java:580)^M
              at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)^M
              at java.base/java.lang.Thread.run(Thread.java:1583)^M
      java.lang.RuntimeException: Expected jstack output to contain 'Compiled frame'^M
              at ClhsdbJstackXcompStress.runJstackInLoop(ClhsdbJstackXcompStress.java:84)^M
              at ClhsdbJstackXcompStress.main(ClhsdbJstackXcompStress.java:100)^M
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)^M
              at java.base/java.lang.reflect.Method.invoke(Method.java:580)^M
              at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)^M
              at java.base/java.lang.Thread.run(Thread.java:1583)^M
      ^M
      JavaTest Message: Test threw exception: java.lang.RuntimeException^M

            Unassigned Unassigned
            aleonard Andrew Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: