< prev index next >

src/hotspot/share/classfile/compactHashtable.cpp

Print this page

        

*** 40,50 **** // // The compact hash table writer implementations // CompactHashtableWriter::CompactHashtableWriter(int num_entries, CompactHashtableStats* stats) { ! assert(DumpSharedSpaces || DynamicDumpSharedSpaces, "dump-time only"); assert(num_entries >= 0, "sanity"); _num_buckets = calculate_num_buckets(num_entries); assert(_num_buckets > 0, "no buckets"); _num_entries_written = 0; --- 40,50 ---- // // The compact hash table writer implementations // CompactHashtableWriter::CompactHashtableWriter(int num_entries, CompactHashtableStats* stats) { ! assert(Arguments::is_dumping_archive(), "dump-time only"); assert(num_entries >= 0, "sanity"); _num_buckets = calculate_num_buckets(num_entries); assert(_num_buckets > 0, "no buckets"); _num_entries_written = 0;
< prev index next >