Lines Matching defs:keep
113 // Find a segment with a suitable size to keep around.
114 Segment* keep = segment_head_;
115 while (keep != NULL && keep->size() > kMaximumKeptSegmentSize) {
116 keep = keep->next();
120 // and freeing every segment except the one we wish to keep.
124 if (current == keep) {
125 // Unlink the segment we wish to keep from the list.
138 // If we have found a segment we want to keep, we must recompute the
142 if (keep != NULL) {
143 Address start = keep->start();
145 limit_ = keep->end();
148 memset(start, kZapDeadByte, keep->capacity());
155 segment_head_ = keep;