< prev index next >
src/hotspot/share/classfile/symbolTable.cpp
Print this page
*** 501,510 ****
--- 501,515 ----
assert(*value != NULL, "value should point to a symbol");
return (*value)->size() * HeapWordSize;
};
};
+ TableStatistics SymbolTable::get_table_statistics() {
+ SizeFunc sz;
+ return _local_table->statistics_calculate(Thread::current(), sz);
+ }
+
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 >