Chromium Code Reviews| Index: src/mark-compact.cc |
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc |
| index dc2db4b096b76ddb7c36532a51be7106c9b6838b..c2e7cf33ac0e973fcc0b96c38cb0d0317347588c 100644 |
| --- a/src/mark-compact.cc |
| +++ b/src/mark-compact.cc |
| @@ -1004,7 +1004,8 @@ void CodeFlusher::ProcessJSFunctionCandidates() { |
| if (!code_mark.Get()) { |
| if (FLAG_trace_code_flushing && shared->is_compiled()) { |
| SmartArrayPointer<char> name = shared->DebugName()->ToCString(); |
| - PrintF("[code-flushing clears: %s]\n", *name); |
| + PrintF("[code-flushing clears: %s - age: %d]\n", *name, |
|
Michael Starzinger
2013/06/12 11:04:04
nit: Should fit into one line.
Hannes Payer (out of office)
2013/06/12 12:46:17
Done.
|
| + code->GetAge()); |
| } |
| shared->set_code(lazy_compile); |
| candidate->set_code(lazy_compile); |
| @@ -1045,7 +1046,7 @@ void CodeFlusher::ProcessSharedFunctionInfoCandidates() { |
| if (!code_mark.Get()) { |
| if (FLAG_trace_code_flushing && candidate->is_compiled()) { |
| SmartArrayPointer<char> name = candidate->DebugName()->ToCString(); |
| - PrintF("[code-flushing clears: %s]\n", *name); |
| + PrintF("[code-flushing clears: %s - age: %d]\n", *name, code->GetAge()); |
| } |
| candidate->set_code(lazy_compile); |
| } |