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.
Original file line number Diff line number Diff line change
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

1 comment on commit e02627c

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.