< prev index next >

src/hotspot/share/classfile/stringTable.cpp

Print this page

        

*** 577,586 **** --- 577,593 ---- } return literal_size(s); }; }; + TableStatistics StringTable::get_table_statistics() { + static TableStatistics ts; + SizeFunc sz; + ts = _local_table->statistics_get(Thread::current(), sz, ts); + return ts; + } + void StringTable::print_table_statistics(outputStream* st, const char* table_name) { SizeFunc sz; _local_table->statistics_to(Thread::current(), sz, st, table_name); }
< prev index next >