< prev index next >
src/hotspot/share/classfile/compactHashtable.cpp
Print this page
@@ -40,11 +40,11 @@
//
// The compact hash table writer implementations
//
CompactHashtableWriter::CompactHashtableWriter(int num_entries,
CompactHashtableStats* stats) {
- assert(DumpSharedSpaces || DynamicDumpSharedSpaces, "dump-time only");
+ 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 >