OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
8 #include "src/base/platform/platform.h" | 8 #include "src/base/platform/platform.h" |
9 #include "src/full-codegen.h" | 9 #include "src/full-codegen.h" |
10 #include "src/heap/mark-compact.h" | 10 #include "src/heap/mark-compact.h" |
(...skipping 3107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3118 mark_size += heap()->GcSafeSizeOfOldObjectFunction()(object); | 3118 mark_size += heap()->GcSafeSizeOfOldObjectFunction()(object); |
3119 } | 3119 } |
3120 object->ShortPrint(); | 3120 object->ShortPrint(); |
3121 PrintF("\n"); | 3121 PrintF("\n"); |
3122 } | 3122 } |
3123 printf(" --------------------------------------\n"); | 3123 printf(" --------------------------------------\n"); |
3124 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); | 3124 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); |
3125 } | 3125 } |
3126 | 3126 |
3127 #endif // DEBUG | 3127 #endif // DEBUG |
3128 } | 3128 } // namespace internal |
3129 } // namespace v8::internal | 3129 } // namespace v8 |
OLD | NEW |