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

Test gc/shenandoah/TestJcmdHeapDump.java intermittent stuck with -Xcomp -XX:TieredStopAtLevel=1 options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • 21, 24
    • hotspot
    • gc
    • x86_64
    • linux

      The test start on July20, and at July24 the java process still run.
      The top command show that the cpu usage of the java process is zero:
       387783 testUse+ 20 0 4733128 75708 21616 S 0.0 0.1 5:34.90 java

      The jhsdb output has been uploaded as jhsdb.log.
      The jhsdb output show that it stuck in java.time.format.DateTimeFormatterBuilder.appendZoneRegionId()
      "MainThread" #59 prio=5 tid=0x00007f0c301f2c60 nid=388237 runnable [0x00007f0b9faf2000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_in_vm
       - java.time.format.DateTimeFormatterBuilder.appendZoneRegionId() @bci=1, line=1184 (Compiled frame)
       - java.time.format.DateTimeFormatter.<clinit>() @bci=345, line=1058 (Compiled frame)
       - java.time.Instant.toString() @bci=0, line=1379 (Compiled frame)
       - jdk.test.lib.process.OutputBuffer$LazyOutputBuffer.logProgress(java.lang.String) @bci=6, line=139 (Compiled frame)
       - jdk.test.lib.process.OutputBuffer$LazyOutputBuffer.<init>(java.lang.Process, java.nio.charset.Charset) @bci=12, line=146 (Compiled frame)
       - jdk.test.lib.process.OutputBuffer.of(java.lang.Process, java.nio.charset.Charset) @bci=6, line=93 (Compiled frame)
       - jdk.test.lib.process.OutputAnalyzer.<init>(java.lang.Process, java.nio.charset.Charset) @bci=7, line=58 (Compiled frame)
       - jdk.test.lib.process.ProcessTools.executeProcess(java.lang.ProcessBuilder, java.lang.String, java.nio.charset.Charset) @bci=75, line=725 (Compiled frame)
       - jdk.test.lib.process.ProcessTools.executeProcess(java.lang.ProcessBuilder, java.lang.String) @bci=3, line=697 (Compiled frame)
       - jdk.test.lib.process.ProcessTools.executeProcess(java.lang.ProcessBuilder) @bci=2, line=684 (Compiled frame)
       - jdk.test.lib.process.ProcessTools.executeProcess(java.lang.String[]) @bci=8, line=768 (Compiled frame)
       - TestJcmdHeapDump.main(java.lang.String[]) @bci=53, line=145 (Compiled frame)



      testUse+ 387783 153802 0 Jul20 ? 00:05:34 /var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk/bin/java -Dtest.vm.opts=-Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -Xcomp -XX:TieredStopAtLevel=1 -ea -esa -Dtest.tool.vm.opts=-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Dtest.wisp.socketAddress=www.alibabacloud.com -J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk -Dcompile.jdk=/var/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-release/images/jdk -Dtest.timeout.factor=4.0 -Dtest.nativepath=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native -Dtest.root=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg -Dtest.name=gc/shenandoah/TestJcmdHeapDump.java#iu-aggressive -Dtest.file=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah/TestJcmdHeapDump.java -Dtest.src=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah -Dtest.src.path=/var/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/gc/shenandoah:/var/tmp/tone/run/jtreg/jdk-repo/test/lib -Dtest.classes=/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/13/gc/shenandoah/TestJcmdHeapDump_iu-aggressive.d -Dtest.class.path=/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/13/gc/shenandoah/TestJcmdHeapDump_iu-aggressive.d:/var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/13/test/lib -Dtest.modules=jdk.attach/com.sun.tools.attach --add-modules jdk.attach --add-exports jdk.attach/com.sun.tools.attach=ALL-UNNAMED -Djdk.lang.processReaperUseDefaultStackSize=true -Dtest.wisp.socketAddress=www.alibabacloud.com -Xcomp -XX:TieredStopAtLevel=1 -ea -esa -java.library.path=/var/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native -Xmx16m -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive com.sun.javatest.regtest.agent.MainWrapper /var/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/gc/shenandoah/TestJcmdHeapDump_iu-aggressive.d/main.3.jta

      # date
      Wed Jul 24 17:45:01 CST 2024

      make configure:
      bash configure --with-jobs=32 --prefix=/var/tmp/tone/run/jtreg/jdk-repo/install-release --verbose --with-debug-level=release --enable-unlimited-crypto --with-vendor-name=yansendao --with-vendor-url=https://github.com/sendaoYan --with-vendor-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-vendor-vm-bug-url=mailto:yansendao.ysd@alibaba-inc.com --with-jvm-variants=server --with-boot-jdk=/var/tmp/tone/run/jtreg/binary-download/jdk-binary --with-gtest=/var/tmp/tone/run/jtreg/googletest-v1.14.x --with-jtreg=/var/tmp/tone/run/jtreg/jtreg --with-jmh=build/jmh/jars --with-version-pre='' --with-version-opt= --with-zlib=system

        1. jhsdb.log
          7 kB
          Sendao Yan
        2. native-stack.log
          53 kB
          Sendao Yan
        3. ps.log
          11 kB
          Sendao Yan

            Unassigned Unassigned
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: