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; |