8232213: runtime/MemberName/MemberNameLeak.java fails intermittently

Reviewed-by: dcubed, coleenp
This commit is contained in:
Claes Redestad 2020-05-16 01:35:38 +02:00
parent 46cf294250
commit a09720f2ee

View File

@ -103,7 +103,7 @@ public class MemberNameLeak {
System.gc(); // make mh unused System.gc(); // make mh unused
} }
if (after != wb.resolvedMethodItemsCount()) { if (after > wb.resolvedMethodItemsCount() + 50) {
// Entries have been removed. // Entries have been removed.
break; break;
} }