diff src/share/vm/classfile/protectionDomainCache.cpp @ 13404:46bb2774fc88

7133093: Improve system dictionary performance Summary: implement one dictionary per ClassLoaderData for faster lookup and removal during class unloading Reviewed-by: iklam, acorn, jiangli
author coleenp
date Fri, 28 Jul 2017 10:48:35 -0400
parents ff28370e679e
children a77c680f1535
line wrap: on
line diff
--- a/src/share/vm/classfile/protectionDomainCache.cpp	Thu Jul 27 17:47:57 2017 -0700
+++ b/src/share/vm/classfile/protectionDomainCache.cpp	Fri Jul 28 10:48:35 2017 -0400
@@ -88,14 +88,14 @@
     for (ProtectionDomainCacheEntry* probe = bucket(index);
                                      probe != NULL;
                                      probe = probe->next()) {
+      tty->print("%4d: ", index);
       probe->print();
     }
   }
 }
 
 void ProtectionDomainCacheEntry::print() {
-  tty->print_cr("entry " PTR_FORMAT " value " PTR_FORMAT " next " PTR_FORMAT,
-                p2i(this), p2i(literal()), p2i(next()));
+  tty->print_cr("protection_domain: " PTR_FORMAT, p2i(literal()));
 }
 #endif