< prev index next >

test/jdk/java/util/concurrent/ScheduledThreadPoolExecutor/GCRetention.java

Print this page
8225490: Miscellaneous changes imported from jsr166 CVS 2019-09
Reviewed-by: martin, alanb

@@ -84,11 +84,11 @@
                 for (;;) {
                     System.gc();
                     if (q.remove(1000) != null)
                         break;
                     System.out.printf(
-                        "%d/%d unqueued references remaining%n", j, n);
+                        "%d/%d unqueued references remaining%n", j + 1, n);
                 }
             }
         }
         check(q.poll() == null);
     }
< prev index next >