8214151: [TESTBUG] CleanProtectionDomain.java fails due to RuntimeException: 'protection domain unlinked' missing
authorcoleenp
Tue, 27 Nov 2018 19:46:57 -0500
changeset 52705 53a407ab6d22
parent 52704 64413aaea8ed
child 52706 19b15ff2576b
8214151: [TESTBUG] CleanProtectionDomain.java fails due to RuntimeException: 'protection domain unlinked' missing Summary: call WB_ProtectionDomainRemovedCount. Reviewed-by: jiangli, pchilanomate
test/hotspot/jtreg/runtime/Dictionary/CleanProtectionDomain.java
--- 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;
         }