< prev index next >

src/share/vm/classfile/symbolTable.cpp

Print this page
rev 9056 : 8185525: Add JFR event for DictionarySizes
Summary: Added TableStatistics event
Reviewed-by: egahlin, coleenp

*** 480,489 **** --- 480,492 ---- } } return true; } + TableStatistics SymbolTable::get_table_statistics() { + return the_table()->statistics_calculate(); + } void SymbolTable::verify() { for (int i = 0; i < the_table()->table_size(); ++i) { HashtableEntry<Symbol*, mtSymbol>* p = the_table()->bucket(i); for ( ; p != NULL; p = p->next()) {
*** 924,933 **** --- 927,940 ---- int end_idx = MIN2(limit, start_idx + ClaimChunkSize); buckets_oops_do(f, start_idx, end_idx); } } + TableStatistics StringTable::get_table_statistics() { + return the_table()->statistics_calculate(); + } + // This verification is part of Universe::verify() and needs to be quick. // See StringTable::verify_and_compare() below for exhaustive verification. void StringTable::verify() { for (int i = 0; i < the_table()->table_size(); ++i) { HashtableEntry<oop, mtSymbol>* p = the_table()->bucket(i);
< prev index next >