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