8292680: Convert Dictionary to ConcurrentHashTable

Reviewed-by: rehn, hseigel
This commit is contained in:
Coleen Phillimore 2022-08-25 19:02:52 +00:00
parent 2fe0ce0148
commit 4f50316a1a
30 changed files with 436 additions and 356 deletions

View file

@ -161,12 +161,6 @@ public:
}
};
static size_t ceil_log2(size_t value) {
size_t ret;
for (ret = 1; ((size_t)1 << ret) < value; ++ret);
return ret;
}
void SymbolTable::create_table () {
size_t start_size_log_2 = ceil_log2(SymbolTableSize);
_current_size = ((size_t)1) << start_size_log_2;