mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8292446: Make TableRateStatistics optional in CHT
Reviewed-by: coleenp, rehn
This commit is contained in:
parent
45dec480ef
commit
1f3578b79c
8 changed files with 45 additions and 28 deletions
|
@ -122,7 +122,8 @@ void ThreadIdTable::create_table(size_t size) {
|
|||
size_t start_size_log =
|
||||
size_log > DEFAULT_TABLE_SIZE_LOG ? size_log : DEFAULT_TABLE_SIZE_LOG;
|
||||
_current_size = (size_t)1 << start_size_log;
|
||||
_local_table = new ThreadIdTableHash(start_size_log, END_SIZE);
|
||||
_local_table =
|
||||
new ThreadIdTableHash(start_size_log, END_SIZE, ThreadIdTableHash::DEFAULT_GROW_HINT);
|
||||
}
|
||||
|
||||
void ThreadIdTable::item_added() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue