8214151: [TESTBUG] CleanProtectionDomain.java fails due to RuntimeException: 'protection domain unlinked' missing

Call WB_ProtectionDomainRemovedCount.

Reviewed-by: jiangli, pchilanomate
This commit is contained in:
Coleen Phillimore 2018-11-27 19:46:57 -05:00
parent 48073dc0d0
commit fdd11cac16

@ -78,7 +78,7 @@ public class CleanProtectionDomain {
if (cnt++ % 30 == 0) {
System.gc();
}
removedCount = wb.resolvedMethodRemovedCount();
removedCount = wb.protectionDomainRemovedCount();
if (removedCountOrig != removedCount) {
break;
}