Lines Matching defs:map
355 bool IncrementalMarking::ShouldRetainMap(Map map, int age) {
357 // The map has aged. Do not retain this map.
360 Object constructor = map.GetConstructor();
363 // The constructor is dead, no new objects with this map can
364 // be created. Do not retain this map.
389 Map map = Map::cast(map_heap_object);
390 if (!map_retaining_is_disabled && marking_state()->IsWhite(map)) {
391 if (ShouldRetainMap(map, age)) {
392 WhiteToGreyAndPush(map);
394 heap_->AddRetainingRoot(Root::kRetainMaps, map);
397 Object prototype = map.prototype();
400 // The prototype is not marked, age the map.
403 // The prototype and the constructor are marked, this map keeps only
404 // transition tree alive, not JSObjects. Do not age the map.
509 if (obj.map(cage_base) != filler_map) {