< prev index next >

src/hotspot/share/classfile/compactHashtable.hpp

Print this page

        

*** 33,43 **** class NumberSeq; class SimpleCompactHashtable; class SerializeClosure; // Stats for symbol tables in the CDS archive ! class CompactHashtableStats VALUE_OBJ_CLASS_SPEC { public: int hashentry_count; int hashentry_bytes; int bucket_count; int bucket_bytes; --- 33,43 ---- class NumberSeq; class SimpleCompactHashtable; class SerializeClosure; // Stats for symbol tables in the CDS archive ! class CompactHashtableStats { public: int hashentry_count; int hashentry_bytes; int bucket_count; int bucket_bytes;
*** 69,79 **** // Buckets without entry are skipped from the table. Their offsets are // still written out for faster lookup. // class CompactHashtableWriter: public StackObj { public: ! class Entry VALUE_OBJ_CLASS_SPEC { unsigned int _hash; u4 _value; public: Entry() {} --- 69,79 ---- // Buckets without entry are skipped from the table. Their offsets are // still written out for faster lookup. // class CompactHashtableWriter: public StackObj { public: ! class Entry { unsigned int _hash; u4 _value; public: Entry() {}
*** 192,202 **** // // See CompactHashtable::lookup() for how the table is searched at runtime. // See CompactHashtableWriter::dump() for how the table is written at CDS // dump time. // ! class SimpleCompactHashtable VALUE_OBJ_CLASS_SPEC { protected: address _base_address; u4 _bucket_count; u4 _entry_count; u4* _buckets; --- 192,202 ---- // // See CompactHashtable::lookup() for how the table is searched at runtime. // See CompactHashtableWriter::dump() for how the table is written at CDS // dump time. // ! class SimpleCompactHashtable { protected: address _base_address; u4 _bucket_count; u4 _entry_count; u4* _buckets;
*** 279,289 **** // Read/Write the contents of a hashtable textual dump (created by // SymbolTable::dump and StringTable::dump). // Because the dump file may be big (hundred of MB in extreme cases), // we use mmap for fast access when reading it. // ! class HashtableTextDump VALUE_OBJ_CLASS_SPEC { int _fd; const char* _base; const char* _p; const char* _end; const char* _filename; --- 279,289 ---- // Read/Write the contents of a hashtable textual dump (created by // SymbolTable::dump and StringTable::dump). // Because the dump file may be big (hundred of MB in extreme cases), // we use mmap for fast access when reading it. // ! class HashtableTextDump { int _fd; const char* _base; const char* _p; const char* _end; const char* _filename;
< prev index next >