src/hotspot/share/memory/heapShared.cpp
changeset 54927 1512d88b24c6
parent 54847 59ea39bb2809
child 57777 90ead0febf56
child 58678 9cf78a70fa4f
--- 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(&copy);