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

gc/stringdedup/TestStringDeduplicationInterned.java#G1fails with "RuntimeException: String 3 doesn't match either"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 18
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
      gc
    • CPU:
      x86_64
    • OS:
      windows

      Description

      The following test failed in the JDK18 CI:

      gc/stringdedup/TestStringDeduplicationInterned.java#G1

      Here's a snippet from the log file:

      [9.389s][debug][stringdedup ] Skipped: 9 (dead), 0 (incomplete), 0 (shared)
      [9.389s][debug][stringdedup ] Table: 2889 values in 503 buckets, 0 dead (0)
      [9.389s][debug][stringdedup,phases,start] Idle start
      End: Young GC 1/1
      Creating strings: total=10, unique=10
      Begin: Full GC 1/3
      [9.680s][info ][gc ] GC(4) Pause Full (System.gc()) 1M->0M(100M) 14.531ms
      End: Full GC 1/3
      Creating strings: total=10, unique=10
      Begin: Full GC 2/3
      [9.695s][info ][gc ] GC(5) Pause Full (System.gc()) 1M->0M(100M) 12.611ms
      End: Full GC 2/3
      Creating strings: total=10, unique=10
      Begin: Full GC 3/3
      [9.724s][info ][gc ] GC(6) Pause Full (System.gc()) 1M->0M(100M) 28.755ms
      End: Full GC 3/3
      Waiting for deduplication...
      ];
       stderr: [Exception in thread "main" java.lang.RuntimeException: String 3 doesn't match either
      at gc.stringdedup.TestStringDeduplicationTools$InternedTest.main(TestStringDeduplicationTools.java:387)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
      at gc.stringdedup.TestStringDeduplicationTools.testInterned(TestStringDeduplicationTools.java:513)
      at gc.stringdedup.TestStringDeduplicationInterned.main(TestStringDeduplicationInterned.java:94)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: