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

gc/stringdedup/TestStringDeduplicationInterned.java#Shenandoah intermittent fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • gc
    • x86
    • linux

      gc/stringdedup/TestStringDeduplicationInterned.java#Shenandoah intermittent fails on linux x86_32, which reported by GHA test runner:
      https://github.com/sendaoYan/jdk-ysd/actions/runs/9262821038/job/25481336791

      test command:
      export test=test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationInterned.java#Shenandoah
      function runJtreg() { jtreg -jdk:build/linux-x86-server-release/images/jdk -ea -esa -timeoutFactor:4 -v:fail,error,time,nopass -nr -w $dir/index-$1 $test &> $dir/$1.log ; if [[ 0 -ne $? ]] ; then echo -n "$1 " ; else rm -rf $dir/index-$1 $dir/$1.log ; fi ; } ; export -f runJtreg ; export dir="tmp-jtreg-"`basename ${test##* } .java | sed "s|#|_|"` ; rm -rf $dir ; mkdir -p $dir ; time seq 10000 | xargs -i -n 1 -P `nproc` bash -c "runJtreg {}" ; echo total fail number: `ls $dir/*.log 2> /dev/null | wc | awk '{print $1}'`


      test result snippet:
       stderr: [Exception in thread "main" java.lang.RuntimeException: Deduplication has not occurred, load history: min: 3.193645833333333, max: 3.337604166666667
      at gc.stringdedup.TestStringDeduplicationTools.waitForDeduplication(TestStringDeduplicationTools.java:230)
      at gc.stringdedup.TestStringDeduplicationTools$InternedTest.main(TestStringDeduplicationTools.java:431)

        1. index-590.zip
          168 kB
        2. 590.log
          152 kB
        3. jt-work.tar.xz
          86 kB

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

              Created:
              Updated: