Index: src/heap/mark-compact.cc |
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc |
index e537689c4a5ca4ba35530fc8d81a55f3bfd37596..a6c090765e47f09e69af5ac875d196e554d85f2a 100644 |
--- a/src/heap/mark-compact.cc |
+++ b/src/heap/mark-compact.cc |
@@ -2991,10 +2991,17 @@ bool MarkCompactCollector::Evacuator::EvacuateSinglePage( |
success = collector_->VisitLiveObjects(p, visitor, kClearMarkbits); |
} |
if (FLAG_trace_evacuation) { |
+ const char age_mark_tag = |
+ !p->InNewSpace() |
+ ? 'x' |
+ : !p->IsFlagSet(MemoryChunk::NEW_SPACE_BELOW_AGE_MARK) |
+ ? '>' |
+ : !p->ContainsLimit(heap()->new_space()->age_mark()) ? '<' |
+ : '#'; |
PrintIsolate(heap()->isolate(), |
- "evacuation[%p]: page=%p new_space=%d executable=%d " |
- "live_bytes=%d time=%f\n", |
- this, p, p->InNewSpace(), |
+ "evacuation[%p]: page=%p new_space=%d age_mark_tag=%c " |
+ "executable=%d live_bytes=%d time=%f\n", |
+ this, p, p->InNewSpace(), age_mark_tag, |
p->IsFlagSet(MemoryChunk::IS_EXECUTABLE), saved_live_bytes, |
evacuation_time); |
} |