diff src/share/vm/classfile/symbolTable.cpp @ 20493:152cf4afc11f

8056084: Refactor Hashtable to allow implementations without rehashing support Reviewed-by: gziemski, jmasa, brutisso, coleenp, tschatzl
author mgerdin
date Fri, 29 Aug 2014 13:08:01 +0200
parents 833b0f92429a
children 7848fc12602b
line wrap: on
line diff
--- a/src/share/vm/classfile/symbolTable.cpp	Tue Sep 23 17:24:34 2014 -0700
+++ b/src/share/vm/classfile/symbolTable.cpp	Fri Aug 29 13:08:01 2014 +0200
@@ -205,7 +205,7 @@
     }
   }
   // If the bucket size is too deep check if this hash code is insufficient.
-  if (count >= BasicHashtable<mtSymbol>::rehash_count && !needs_rehashing()) {
+  if (count >= rehash_count && !needs_rehashing()) {
     _needs_rehashing = check_rehash_table(count);
   }
   return NULL;
@@ -656,7 +656,7 @@
     }
   }
   // If the bucket size is too deep check if this hash code is insufficient.
-  if (count >= BasicHashtable<mtSymbol>::rehash_count && !needs_rehashing()) {
+  if (count >= rehash_count && !needs_rehashing()) {
     _needs_rehashing = check_rehash_table(count);
   }
   return NULL;