Home | History | Annotate | Download | only in src

Lines Matching defs:keep

94   // Find a segment with a suitable size to keep around.
95 Segment* keep = NULL;
97 // and freeing every segment except the one we wish to keep.
100 if (keep == NULL && current->size() <= kMaximumKeptSegmentSize) {
101 // Unlink the segment we wish to keep from the list.
102 keep = current;
103 keep->clear_next();
115 // If we have found a segment we want to keep, we must recompute the
119 if (keep != NULL) {
120 Address start = keep->start();
122 limit_ = keep->end();
125 memset(start, kZapDeadByte, keep->capacity());
132 segment_head_ = keep;