diff -r d4e7ccaf1445 -r 1512d88b24c6 src/hotspot/share/memory/heapShared.cpp --- a/src/hotspot/share/memory/heapShared.cpp Fri May 17 10:48:02 2019 -0400 +++ b/src/hotspot/share/memory/heapShared.cpp Fri May 17 08:29:55 2019 -0700 @@ -418,8 +418,7 @@ _run_time_subgraph_info_table.reset(); - int num_buckets = CompactHashtableWriter::default_num_buckets(d_table->_count); - CompactHashtableWriter writer(num_buckets, &stats); + CompactHashtableWriter writer(d_table->_count, &stats); CopyKlassSubGraphInfoToArchive copy(&writer); d_table->iterate(©);