Lines Matching full:keep
109 // Find a segment with a suitable size to keep around.
110 Segment* keep = Segment::head();
111 while (keep != NULL && keep->size() > kMaximumKeptSegmentSize) {
112 keep = keep->next();
116 // and freeing every segment except the one we wish to keep.
120 if (current == keep) {
121 // Unlink the segment we wish to keep from the list.
134 // If we have found a segment we want to keep, we must recompute the
138 if (keep != NULL) {
139 Address start = keep->start();
141 limit_ = keep->end();
144 memset(start, kZapDeadByte, keep->capacity());
151 Segment::set_head(keep);