| Index: src/heap-inl.h
|
| diff --git a/src/heap-inl.h b/src/heap-inl.h
|
| index 52d8c23851ec139a4904c4abdd2594fed7b5b6ac..dfff41831a9ec537e7607ea3e5c468ec55ccdc95 100644
|
| --- a/src/heap-inl.h
|
| +++ b/src/heap-inl.h
|
| @@ -292,6 +292,7 @@ bool Heap::ShouldBePromoted(Address old_address, int object_size) {
|
| // An object should be promoted if:
|
| // - the object has survived a scavenge operation or
|
| // - to space is already 25% full.
|
| + // TODO(gc): Do something about age-mark in paged new-space.
|
| return old_address < new_space_.age_mark()
|
| || (new_space_.Size() + object_size) >= (new_space_.Capacity() >> 2);
|
| }
|
|
|