diff -r 95fce20624fc -r eef07cd490d4 src/share/vm/utilities/hashtable.cpp --- a/src/share/vm/utilities/hashtable.cpp Wed Jul 03 20:04:13 2019 +0800 +++ b/src/share/vm/utilities/hashtable.cpp Wed Jul 03 20:42:37 2019 +0800 @@ -55,7 +55,7 @@ if (_first_free_entry + _entry_size >= _end_block) { int block_size = MIN2(512, MAX2((int)_table_size / 2, (int)_number_of_entries)); int len = _entry_size * block_size; - len = 1 << log2_intptr(len); // round down to power of 2 + len = 1 << log2_int(len); // round down to power of 2 assert(len >= _entry_size, ""); _first_free_entry = NEW_C_HEAP_ARRAY2(char, len, F, CURRENT_PC); _end_block = _first_free_entry + len;