Lines Matching defs:key
105 StateBase(const void* key, size_t state_count, Visibility visibility,
107 : key_(key),
287 // Values that are held alive through ephemerons by this particular key.
290 // particular key.
308 bool StateExists(const void* key) const {
309 return states_.find(key) != states_.end();
312 StateBase& GetExistingState(const void* key) const {
313 CHECK(StateExists(key));
314 return *states_.at(key).get();
420 void VisitEphemeronForVisibility(const HeapObjectHeader& key,
423 const HeapObjectHeader& key, const void* value,
616 // 2. for each {key} in container: container->key;
617 // 3. for each {key, value} in container: key->value;
625 void VisitEphemeron(const void* key, const void* value,
627 // For ephemerons, the key retains the value.
629 auto& key_header = HeapObjectHeader::FromObject(key);
637 // Regular path where both key and value are GarbageCollected objects.
814 const HeapObjectHeader& key, const void* value,
816 auto& key_state = states_.GetOrCreateState(key);
817 // Eagerly trace the value here, effectively marking key as visible and
826 const HeapObjectHeader& key, const HeapObjectHeader& value) {
827 auto& key_state = states_.GetOrCreateState(key);
879 AddEdge(state, value, "part of key -> value pair in ephemeron table");
882 "part of key -> value pair in ephemeron table");