--- a/hotspot/src/share/vm/classfile/protectionDomainCache.hpp Wed Aug 02 08:19:09 2017 -0400
+++ b/hotspot/src/share/vm/classfile/protectionDomainCache.hpp Wed Aug 02 10:52:50 2017 -0400
@@ -51,7 +51,6 @@
f->do_oop(literal_addr());
}
- void print() PRODUCT_RETURN;
void verify();
};
@@ -67,7 +66,7 @@
class ProtectionDomainCacheTable : public Hashtable<oop, mtClass> {
friend class VMStructs;
private:
- ProtectionDomainCacheEntry* bucket(int i) {
+ ProtectionDomainCacheEntry* bucket(int i) const {
return (ProtectionDomainCacheEntry*) Hashtable<oop, mtClass>::bucket(i);
}
@@ -96,7 +95,7 @@
// GC support
void oops_do(OopClosure* f);
- void print() PRODUCT_RETURN;
+ void print_on(outputStream* st) const;
void verify();
};