8214151: [TESTBUG] CleanProtectionDomain.java fails due to RuntimeException: 'protection domain unlinked' missing
Summary: call WB_ProtectionDomainRemovedCount.
Reviewed-by: jiangli, pchilanomate
--- a/test/hotspot/jtreg/runtime/Dictionary/CleanProtectionDomain.java Tue Nov 27 15:52:34 2018 -0800
+++ b/test/hotspot/jtreg/runtime/Dictionary/CleanProtectionDomain.java Tue Nov 27 19:46:57 2018 -0500
@@ -78,7 +78,7 @@
if (cnt++ % 30 == 0) {
System.gc();
}
- removedCount = wb.resolvedMethodRemovedCount();
+ removedCount = wb.protectionDomainRemovedCount();
if (removedCountOrig != removedCount) {
break;
}