hotspot/src/share/vm/memory/binaryTreeDictionary.cpp
changeset 24092 e274d864545a
parent 22884 5cadaf2c3f32
child 24335 77c15794239b
equal deleted inserted replaced
23859:c8b7bd180417 24092:e274d864545a
  1203   FreeBlockDictionary<Chunk_t>::verify_par_locked();
  1203   FreeBlockDictionary<Chunk_t>::verify_par_locked();
  1204   gclog_or_tty->print("Statistics for BinaryTreeDictionary:\n"
  1204   gclog_or_tty->print("Statistics for BinaryTreeDictionary:\n"
  1205          "------------------------------------\n");
  1205          "------------------------------------\n");
  1206   size_t total_size = total_chunk_size(debug_only(NULL));
  1206   size_t total_size = total_chunk_size(debug_only(NULL));
  1207   size_t    free_blocks = num_free_blocks();
  1207   size_t    free_blocks = num_free_blocks();
  1208   gclog_or_tty->print("Total Free Space: %d\n", total_size);
  1208   gclog_or_tty->print("Total Free Space: " SIZE_FORMAT "\n", total_size);
  1209   gclog_or_tty->print("Max   Chunk Size: %d\n", max_chunk_size());
  1209   gclog_or_tty->print("Max   Chunk Size: " SIZE_FORMAT "\n", max_chunk_size());
  1210   gclog_or_tty->print("Number of Blocks: %d\n", free_blocks);
  1210   gclog_or_tty->print("Number of Blocks: " SIZE_FORMAT "\n", free_blocks);
  1211   if (free_blocks > 0) {
  1211   if (free_blocks > 0) {
  1212     gclog_or_tty->print("Av.  Block  Size: %d\n", total_size/free_blocks);
  1212     gclog_or_tty->print("Av.  Block  Size: " SIZE_FORMAT "\n", total_size/free_blocks);
  1213   }
  1213   }
  1214   gclog_or_tty->print("Tree      Height: %d\n", tree_height());
  1214   gclog_or_tty->print("Tree      Height: " SIZE_FORMAT "\n", tree_height());
  1215 }
  1215 }
  1216 
  1216 
  1217 // Print census information - counts, births, deaths, etc.
  1217 // Print census information - counts, births, deaths, etc.
  1218 // for each list in the tree.  Also print some summary
  1218 // for each list in the tree.  Also print some summary
  1219 // information.
  1219 // information.