< prev index next >
src/hotspot/share/classfile/protectionDomainCache.hpp
Print this page
@@ -83,18 +83,23 @@
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;
+
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();
};
class ProtectionDomainEntry :public CHeapObj<mtClass> {
friend class VMStructs;
< prev index next >