mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8292680: Convert Dictionary to ConcurrentHashTable
Reviewed-by: rehn, hseigel
This commit is contained in:
parent
2fe0ce0148
commit
4f50316a1a
30 changed files with 436 additions and 356 deletions
|
@ -80,12 +80,6 @@ class ThreadIdTableConfig : public AllStatic {
|
|||
}
|
||||
};
|
||||
|
||||
static size_t ceil_log2(size_t val) {
|
||||
size_t ret;
|
||||
for (ret = 1; ((size_t)1 << ret) < val; ++ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
// Lazily creates the table and populates it with the given
|
||||
// thread list
|
||||
void ThreadIdTable::lazy_initialize(const ThreadsList *threads) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue