< prev index next >

src/hotspot/share/classfile/symbolTable.cpp

Print this page

        

@@ -501,10 +501,17 @@
     assert(*value != NULL, "value should point to a symbol");
     return (*value)->size() * HeapWordSize;
   };
 };
 
+TableStatistics SymbolTable::get_table_statistics() {
+  static TableStatistics ts;
+  SizeFunc sz;
+  ts = _local_table->statistics_get(Thread::current(), sz, ts);
+  return ts;
+}
+
 void SymbolTable::print_table_statistics(outputStream* st,
                                          const char* table_name) {
   SizeFunc sz;
   _local_table->statistics_to(Thread::current(), sz, st, table_name);
 }
< prev index next >