src/hotspot/share/memory/heapShared.cpp
changeset 54927 1512d88b24c6
parent 54847 59ea39bb2809
child 57777 90ead0febf56
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54926:d4e7ccaf1445 54927:1512d88b24c6
   416   DumpTimeKlassSubGraphInfoTable* d_table = _dump_time_subgraph_info_table;
   416   DumpTimeKlassSubGraphInfoTable* d_table = _dump_time_subgraph_info_table;
   417   CompactHashtableStats stats;
   417   CompactHashtableStats stats;
   418 
   418 
   419   _run_time_subgraph_info_table.reset();
   419   _run_time_subgraph_info_table.reset();
   420 
   420 
   421   int num_buckets = CompactHashtableWriter::default_num_buckets(d_table->_count);
   421   CompactHashtableWriter writer(d_table->_count, &stats);
   422   CompactHashtableWriter writer(num_buckets, &stats);
       
   423   CopyKlassSubGraphInfoToArchive copy(&writer);
   422   CopyKlassSubGraphInfoToArchive copy(&writer);
   424   d_table->iterate(&copy);
   423   d_table->iterate(&copy);
   425 
   424 
   426   writer.dump(&_run_time_subgraph_info_table, "subgraphs");
   425   writer.dump(&_run_time_subgraph_info_table, "subgraphs");
   427 }
   426 }