changeset 52728:53a407ab6d22

8214151: [TESTBUG] CleanProtectionDomain.java fails due to RuntimeException: 'protection domain unlinked' missing Summary: call WB_ProtectionDomainRemovedCount. Reviewed-by: jiangli, pchilanomate
author coleenp
date Tue, 27 Nov 2018 19:46:57 -0500
parents 64413aaea8ed
children 19b15ff2576b
files test/hotspot/jtreg/runtime/Dictionary/CleanProtectionDomain.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
         }