Skip to content

Commit

Permalink
8290397: LoadLibraryUnload.java failed with "Too few cleared WeakRefe…
Browse files Browse the repository at this point in the history
…rences"

Reviewed-by: mchung
  • Loading branch information
Roger Riggs committed Jul 19, 2022
1 parent 2ff2208 commit e02627c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -166,7 +166,7 @@ public static void main(String[] args) throws Exception {
// before exiting the test.
for (int i = 0; i < LOADER_COUNT; i++) {
System.gc();
var res = refQueue.remove(Utils.adjustTimeout(5 * 1000L));
var res = refQueue.remove(Utils.adjustTimeout(30 * 1000L));
System.out.println(i + " dequeued: " + res);
if (res == null) {
Asserts.fail("Too few cleared WeakReferences");
Expand Down

0 comments on commit e02627c

Please sign in to comment.