< prev index next >
src/hotspot/share/classfile/protectionDomainCache.hpp
Print this page
*** 83,100 ****
--- 83,108 ----
int index_for(Handle protection_domain);
ProtectionDomainCacheEntry* add_entry(int index, unsigned int hash, Handle protection_domain);
ProtectionDomainCacheEntry* find_entry(int index, Handle protection_domain);
+ bool _dead_entries;
+ int _total_oops_removed;
+
public:
ProtectionDomainCacheTable(int table_size);
ProtectionDomainCacheEntry* get(Handle protection_domain);
void unlink();
void print_on(outputStream* st) const;
void verify();
+
+ bool has_work() { return _dead_entries; }
+ void trigger_cleanup();
+
+ int removed_entries_count() { return _total_oops_removed; };
};
class ProtectionDomainEntry :public CHeapObj<mtClass> {
friend class VMStructs;
< prev index next >