1.1 --- a/src/share/vm/utilities/hashtable.cpp Wed Jul 03 20:04:13 2019 +0800 1.2 +++ b/src/share/vm/utilities/hashtable.cpp Wed Jul 03 20:42:37 2019 +0800 1.3 @@ -55,7 +55,7 @@ 1.4 if (_first_free_entry + _entry_size >= _end_block) { 1.5 int block_size = MIN2(512, MAX2((int)_table_size / 2, (int)_number_of_entries)); 1.6 int len = _entry_size * block_size; 1.7 - len = 1 << log2_intptr(len); // round down to power of 2 1.8 + len = 1 << log2_int(len); // round down to power of 2 1.9 assert(len >= _entry_size, ""); 1.10 _first_free_entry = NEW_C_HEAP_ARRAY2(char, len, F, CURRENT_PC); 1.11 _end_block = _first_free_entry + len;