mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8185525: Add JFR event for DictionarySizes
Added TableStatistics event Reviewed-by: egahlin, coleenp
This commit is contained in:
parent
c5fc45ee08
commit
d988e67b89
22 changed files with 594 additions and 75 deletions
|
@ -503,6 +503,13 @@ struct SizeFunc : StackObj {
|
|||
};
|
||||
};
|
||||
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue