comparison src/share/vm/utilities/hashtable.cpp @ 6260:5e2dc722e70d

7186278: Build error after CR#6995781 / 7151532 with GCC 4.7.0 Summary: Templates need this object if not using template parameter in call Reviewed-by: coleenp, kamg, dholmes
author andrew
date Tue, 31 Jul 2012 16:01:56 -0400
parents ace99a6ffc83
children da91efe96a93
comparison
equal deleted inserted replaced
6259:4bfef6df8881 6260:5e2dc722e70d
133 // Keep the shared bit in the Hashtable entry to indicate that this entry 133 // Keep the shared bit in the Hashtable entry to indicate that this entry
134 // can't be deleted. The shared bit is the LSB in the _next field so 134 // can't be deleted. The shared bit is the LSB in the _next field so
135 // walking the hashtable past these entries requires 135 // walking the hashtable past these entries requires
136 // BasicHashtableEntry::make_ptr() call. 136 // BasicHashtableEntry::make_ptr() call.
137 bool keep_shared = p->is_shared(); 137 bool keep_shared = p->is_shared();
138 unlink_entry(p); 138 this->unlink_entry(p);
139 new_table->add_entry(index, p); 139 new_table->add_entry(index, p);
140 if (keep_shared) { 140 if (keep_shared) {
141 p->set_shared(); 141 p->set_shared();
142 } 142 }
143 p = next; 143 p = next;