| 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" | 
|    11 #include "src/macro-assembler.h" |    11 #include "src/macro-assembler.h" | 
|    12 #include "src/msan.h" |    12 #include "src/msan.h" | 
|    13 #include "src/snapshot.h" |    13 #include "src/snapshot/snapshot.h" | 
|    14  |    14  | 
|    15 namespace v8 { |    15 namespace v8 { | 
|    16 namespace internal { |    16 namespace internal { | 
|    17  |    17  | 
|    18  |    18  | 
|    19 // ---------------------------------------------------------------------------- |    19 // ---------------------------------------------------------------------------- | 
|    20 // HeapObjectIterator |    20 // HeapObjectIterator | 
|    21  |    21  | 
|    22 HeapObjectIterator::HeapObjectIterator(PagedSpace* space) { |    22 HeapObjectIterator::HeapObjectIterator(PagedSpace* space) { | 
|    23   // You can't actually iterate over the anchor page.  It is not a real page, |    23   // You can't actually iterate over the anchor page.  It is not a real page, | 
| (...skipping 3118 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  3142     object->ShortPrint(); |  3142     object->ShortPrint(); | 
|  3143     PrintF("\n"); |  3143     PrintF("\n"); | 
|  3144   } |  3144   } | 
|  3145   printf(" --------------------------------------\n"); |  3145   printf(" --------------------------------------\n"); | 
|  3146   printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); |  3146   printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); | 
|  3147 } |  3147 } | 
|  3148  |  3148  | 
|  3149 #endif  // DEBUG |  3149 #endif  // DEBUG | 
|  3150 } |  3150 } | 
|  3151 }  // namespace v8::internal |  3151 }  // namespace v8::internal | 
| OLD | NEW |