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

gc/stringdedup/TestStringDeduplicationInterned.java fails with "Deduplication not occurred"

    XMLWordPrintable

    Details

    • Subcomponent:
      gc

      Description


       stdout: [[0.015s][info][gc] Using Parallel
      [0.052s][info][stringdedup,init] String Deduplication is enabled
      [0.083s][debug][stringdedup,phases,start] Idle start
      [0.083s][debug][stringdedup,phases ] Idle end: 0.007ms
      [0.083s][debug][stringdedup,phases,start] Concurrent start
      [0.083s][debug][stringdedup,phases,start] Process start
      [0.083s][debug][stringdedup,phases ] Process end: 0.071ms
      [0.083s][debug][stringdedup,phases ] Concurrent end: 0.088ms
      [0.083s][info ][stringdedup ] Concurrent String Deduplication 154/5064.0B (new), 0/0.0B (deduped), avg 0.0%, 0.071ms of 0.088ms
      [0.083s][debug][stringdedup ] Last Process: 1/0.071ms, Idle: 1/0.007ms, Blocked: 0/0.000ms
      [0.083s][debug][stringdedup ] Inspected: 154
      [0.083s][debug][stringdedup ] Known: 0( 0.0%)
      [0.083s][debug][stringdedup ] Shared: 0( 0.0%)
      [0.083s][debug][stringdedup ] New: 154(100.0%) 5064.0B
      [0.083s][debug][stringdedup ] Replaced: 0( 0.0%)
      [0.083s][debug][stringdedup ] Deleted: 0( 0.0%)
      [0.083s][debug][stringdedup ] Deduplicated: 0( 0.0%) 0.0B( 0.0%)
      [0.083s][debug][stringdedup ] Skipped: 0 (dead), 0 (incomplete), 0 (shared)
      [0.083s][debug][stringdedup ] Total Process: 1/0.071ms, Idle: 1/0.007ms, Blocked: 0/0.000ms
      [0.083s][debug][stringdedup ] Inspected: 154
      [0.083s][debug][stringdedup ] Known: 0( 0.0%)
      [0.083s][debug][stringdedup ] Shared: 0( 0.0%)
      [0.083s][debug][stringdedup ] New: 154(100.0%) 5064.0B
      [0.083s][debug][stringdedup ] Replaced: 0( 0.0%)
      [0.083s][debug][stringdedup ] Deleted: 0( 0.0%)
      [0.083s][debug][stringdedup ] Deduplicated: 0( 0.0%) 0.0B( 0.0%)
      [0.083s][debug][stringdedup ] Skipped: 0 (dead), 0 (incomplete), 0 (shared)
      [0.083s][debug][stringdedup ] Table: 154 values in 503 buckets, 0 dead (0)
      [0.083s][debug][stringdedup,phases,start] Idle start
      Begin: InternedTest
      Creating strings: total=10, unique=10
      Begin: Full GC 1/3
      [0.201s][info ][gc ] GC(0) Pause Young (System.gc()) 3M->0M(98M) 1.583ms
      [0.214s][info ][gc ] GC(1) Pause Full (System.gc()) 0M->0M(98M) 6.059ms
      [0.222s][debug][stringdedup,phases ] Idle end: 138.800ms
      [0.222s][debug][stringdedup,phases,start] Concurrent start
      [0.222s][debug][stringdedup,phases,start] Process start
      End: Full GC 1/3
      Creating strings: total=10, unique=10
      Begin: Full GC 2/3
      [0.226s][info ][gc ] GC(2) Pause Young (System.gc()) 2M->0M(98M) 2.569ms
      [0.237s][info ][gc ] GC(3) Pause Full (System.gc()) 0M->0M(98M) 6.091ms
      End: Full GC 2/3
      Creating strings: total=10, unique=10
      Begin: Full GC 3/3
      [0.246s][info ][gc ] GC(4) Pause Young (System.gc()) 2M->0M(98M) 1.929ms
      [0.260s][info ][gc ] GC(5) Pause Full (System.gc()) 0M->0M(98M) 7.023ms
      End: Full GC 3/3
      [0.266s][debug][stringdedup,phases ] Process end: 1.691ms
      [0.266s][debug][stringdedup,phases ] Concurrent end: 44.324ms
      [0.266s][info ][stringdedup ] Concurrent String Deduplication 1682/71400.0B (new), 0/0.0B (deduped), avg 0.0%, 1.691ms of 44.324ms
      [0.266s][debug][stringdedup ] Last Process: 1/1.691ms, Idle: 1/138.800ms, Blocked: 2/42.619ms
      [0.266s][debug][stringdedup ] Inspected: 1687
      [0.266s][debug][stringdedup ] Known: 5( 0.3%)
      [0.266s][debug][stringdedup ] Shared: 0( 0.0%)
      [0.266s][debug][stringdedup ] New: 1682( 99.7%) 71400.0B
      [0.266s][debug][stringdedup ] Replaced: 0( 0.0%)
      [0.266s][debug][stringdedup ] Deleted: 0( 0.0%)
      [0.266s][debug][stringdedup ] Deduplicated: 0( 0.0%) 0.0B( 0.0%)
      [0.266s][debug][stringdedup ] Skipped: 2 (dead), 0 (incomplete), 0 (shared)
      [0.266s][debug][stringdedup ] Total Process: 2/1.762ms, Idle: 2/138.807ms, Blocked: 2/42.619ms
      [0.266s][debug][stringdedup ] Inspected: 1841
      [0.266s][debug][stringdedup ] Known: 5( 0.3%)
      [0.266s][debug][stringdedup ] Shared: 0( 0.0%)
      [0.266s][debug][stringdedup ] New: 1836( 99.7%) 76464.0B
      [0.266s][debug][stringdedup ] Replaced: 0( 0.0%)
      [0.266s][debug][stringdedup ] Deleted: 0( 0.0%)
      [0.266s][debug][stringdedup ] Deduplicated: 0( 0.0%) 0.0B( 0.0%)
      [0.266s][debug][stringdedup ] Skipped: 2 (dead), 0 (incomplete), 0 (shared)
      [0.266s][debug][stringdedup ] Table: 1836 values in 503 buckets, 0 dead (0)
      [0.266s][debug][stringdedup,phases,start] Idle start
      Waiting for deduplication...
      ];
       stderr: [java version "18-ea" 2022-03-15
      Java(TM) SE Runtime Environment (fastdebug build 18-ea+15-778)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 18-ea+15-778, mixed mode)
      Exception in thread "main" java.lang.RuntimeException: Deduplication has not occurred
      at gc.stringdedup.TestStringDeduplicationTools$InternedTest.main(TestStringDeduplicationTools.java:304)
      ]
       exitValue = 1

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: