| 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/full-codegen.h" | 7 #include "src/full-codegen.h" | 
| 8 #include "src/macro-assembler.h" | 8 #include "src/macro-assembler.h" | 
| 9 #include "src/mark-compact.h" | 9 #include "src/mark-compact.h" | 
| 10 #include "src/msan.h" | 10 #include "src/msan.h" | 
| (...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1039   p->InsertAfter(anchor_.prev_page()); | 1039   p->InsertAfter(anchor_.prev_page()); | 
| 1040 | 1040 | 
| 1041   return true; | 1041   return true; | 
| 1042 } | 1042 } | 
| 1043 | 1043 | 
| 1044 | 1044 | 
| 1045 intptr_t PagedSpace::SizeOfFirstPage() { | 1045 intptr_t PagedSpace::SizeOfFirstPage() { | 
| 1046   int size = 0; | 1046   int size = 0; | 
| 1047   switch (identity()) { | 1047   switch (identity()) { | 
| 1048     case OLD_POINTER_SPACE: | 1048     case OLD_POINTER_SPACE: | 
| 1049       size = 96 * kPointerSize * KB; | 1049       size = 112 * kPointerSize * KB; | 
| 1050       break; | 1050       break; | 
| 1051     case OLD_DATA_SPACE: | 1051     case OLD_DATA_SPACE: | 
| 1052       size = 192 * KB; | 1052       size = 192 * KB; | 
| 1053       break; | 1053       break; | 
| 1054     case MAP_SPACE: | 1054     case MAP_SPACE: | 
| 1055       size = 16 * kPointerSize * KB; | 1055       size = 16 * kPointerSize * KB; | 
| 1056       break; | 1056       break; | 
| 1057     case CELL_SPACE: | 1057     case CELL_SPACE: | 
| 1058       size = 16 * kPointerSize * KB; | 1058       size = 16 * kPointerSize * KB; | 
| 1059       break; | 1059       break; | 
| (...skipping 2065 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3125     object->ShortPrint(); | 3125     object->ShortPrint(); | 
| 3126     PrintF("\n"); | 3126     PrintF("\n"); | 
| 3127   } | 3127   } | 
| 3128   printf(" --------------------------------------\n"); | 3128   printf(" --------------------------------------\n"); | 
| 3129   printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); | 3129   printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); | 
| 3130 } | 3130 } | 
| 3131 | 3131 | 
| 3132 #endif  // DEBUG | 3132 #endif  // DEBUG | 
| 3133 | 3133 | 
| 3134 } }  // namespace v8::internal | 3134 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|