src/share/vm/utilities/hashtable.cpp

changeset 3963
5e2dc722e70d
parent 3904
ace99a6ffc83
child 4037
da91efe96a93
equal deleted inserted replaced
3962:4bfef6df8881 3963: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;

mercurial