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 "v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "full-codegen.h" | 7 #include "src/full-codegen.h" |
8 #include "macro-assembler.h" | 8 #include "src/macro-assembler.h" |
9 #include "mark-compact.h" | 9 #include "src/mark-compact.h" |
10 #include "msan.h" | 10 #include "src/msan.h" |
11 #include "platform.h" | 11 #include "src/platform.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 | 16 |
17 // ---------------------------------------------------------------------------- | 17 // ---------------------------------------------------------------------------- |
18 // HeapObjectIterator | 18 // HeapObjectIterator |
19 | 19 |
20 HeapObjectIterator::HeapObjectIterator(PagedSpace* space) { | 20 HeapObjectIterator::HeapObjectIterator(PagedSpace* space) { |
21 // You can't actually iterate over the anchor page. It is not a real page, | 21 // You can't actually iterate over the anchor page. It is not a real page, |
(...skipping 3089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3111 object->ShortPrint(); | 3111 object->ShortPrint(); |
3112 PrintF("\n"); | 3112 PrintF("\n"); |
3113 } | 3113 } |
3114 printf(" --------------------------------------\n"); | 3114 printf(" --------------------------------------\n"); |
3115 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); | 3115 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); |
3116 } | 3116 } |
3117 | 3117 |
3118 #endif // DEBUG | 3118 #endif // DEBUG |
3119 | 3119 |
3120 } } // namespace v8::internal | 3120 } } // namespace v8::internal |
OLD | NEW |