< prev index next >

src/hotspot/share/classfile/stringTable.hpp

Print this page

        

*** 23,40 **** */ #ifndef SHARE_CLASSFILE_STRINGTABLE_HPP #define SHARE_CLASSFILE_STRINGTABLE_HPP #include "memory/allocation.hpp" #include "memory/padded.hpp" #include "oops/oop.hpp" #include "oops/weakHandle.hpp" #include "utilities/tableStatistics.hpp" class CompactHashtableWriter; - class JavaThread; class SerializeClosure; class StringTable; class StringTableConfig; class StringTableCreateEntry; --- 23,40 ---- */ #ifndef SHARE_CLASSFILE_STRINGTABLE_HPP #define SHARE_CLASSFILE_STRINGTABLE_HPP + #include "gc/shared/oopStorage.hpp" #include "memory/allocation.hpp" #include "memory/padded.hpp" #include "oops/oop.hpp" #include "oops/weakHandle.hpp" #include "utilities/tableStatistics.hpp" class CompactHashtableWriter; class SerializeClosure; class StringTable; class StringTableConfig; class StringTableCreateEntry;
*** 49,58 **** --- 49,60 ---- static volatile size_t _uncleaned_items_count; // Set if one bucket is out of balance due to hash algorithm deficiency static volatile bool _needs_rehashing; + static OopStorage* _weak_handles; + static void grow(JavaThread* jt); static void clean_dead_entries(JavaThread* jt); static double get_load_factor(); static double get_dead_factor();
*** 74,83 **** --- 76,87 ---- public: static size_t table_size(); static TableStatistics get_table_statistics(); + static OopStorage* weak_storage() { return _weak_handles; } + static void create_table(); static void do_concurrent_work(JavaThread* jt); static bool has_work() { return _has_work; }
< prev index next >