src/share/vm/classfile/symbolTable.cpp

changeset 7207
152cf4afc11f
parent 7074
833b0f92429a
child 7535
7ae4e26cb1e0
child 8766
ce9a710b0f63
     1.1 --- a/src/share/vm/classfile/symbolTable.cpp	Tue Sep 23 17:24:34 2014 -0700
     1.2 +++ b/src/share/vm/classfile/symbolTable.cpp	Fri Aug 29 13:08:01 2014 +0200
     1.3 @@ -205,7 +205,7 @@
     1.4      }
     1.5    }
     1.6    // If the bucket size is too deep check if this hash code is insufficient.
     1.7 -  if (count >= BasicHashtable<mtSymbol>::rehash_count && !needs_rehashing()) {
     1.8 +  if (count >= rehash_count && !needs_rehashing()) {
     1.9      _needs_rehashing = check_rehash_table(count);
    1.10    }
    1.11    return NULL;
    1.12 @@ -656,7 +656,7 @@
    1.13      }
    1.14    }
    1.15    // If the bucket size is too deep check if this hash code is insufficient.
    1.16 -  if (count >= BasicHashtable<mtSymbol>::rehash_count && !needs_rehashing()) {
    1.17 +  if (count >= rehash_count && !needs_rehashing()) {
    1.18      _needs_rehashing = check_rehash_table(count);
    1.19    }
    1.20    return NULL;

mercurial