OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 case OLD_DATA_SPACE: | 1038 case OLD_DATA_SPACE: |
1039 size = 192 * KB; | 1039 size = 192 * KB; |
1040 break; | 1040 break; |
1041 case MAP_SPACE: | 1041 case MAP_SPACE: |
1042 size = 16 * kPointerSize * KB; | 1042 size = 16 * kPointerSize * KB; |
1043 break; | 1043 break; |
1044 case CELL_SPACE: | 1044 case CELL_SPACE: |
1045 size = 16 * kPointerSize * KB; | 1045 size = 16 * kPointerSize * KB; |
1046 break; | 1046 break; |
1047 case PROPERTY_CELL_SPACE: | 1047 case PROPERTY_CELL_SPACE: |
1048 size = 16 * kPointerSize * KB; | 1048 size = 8 * kPointerSize * KB; |
1049 break; | 1049 break; |
1050 case CODE_SPACE: | 1050 case CODE_SPACE: |
1051 if (heap()->isolate()->code_range()->exists()) { | 1051 if (heap()->isolate()->code_range()->exists()) { |
1052 // When code range exists, code pages are allocated in a special way | 1052 // When code range exists, code pages are allocated in a special way |
1053 // (from the reserved code range). That part of the code is not yet | 1053 // (from the reserved code range). That part of the code is not yet |
1054 // upgraded to handle small pages. | 1054 // upgraded to handle small pages. |
1055 size = AreaSize(); | 1055 size = AreaSize(); |
1056 } else { | 1056 } else { |
1057 size = 384 * KB; | 1057 size = 384 * KB; |
1058 } | 1058 } |
(...skipping 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3198 object->ShortPrint(); | 3198 object->ShortPrint(); |
3199 PrintF("\n"); | 3199 PrintF("\n"); |
3200 } | 3200 } |
3201 printf(" --------------------------------------\n"); | 3201 printf(" --------------------------------------\n"); |
3202 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); | 3202 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); |
3203 } | 3203 } |
3204 | 3204 |
3205 #endif // DEBUG | 3205 #endif // DEBUG |
3206 | 3206 |
3207 } } // namespace v8::internal | 3207 } } // namespace v8::internal |
OLD | NEW |