Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: src/spaces.cc

Issue 16871002: Fix nosnap sarialization test failure (again) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 = 8 * kPointerSize * KB; 1048 size = 16 * 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 2130 matching lines...) Expand 10 before | Expand all | Expand 10 after
3189 object->ShortPrint(); 3189 object->ShortPrint();
3190 PrintF("\n"); 3190 PrintF("\n");
3191 } 3191 }
3192 printf(" --------------------------------------\n"); 3192 printf(" --------------------------------------\n");
3193 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); 3193 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes());
3194 } 3194 }
3195 3195
3196 #endif // DEBUG 3196 #endif // DEBUG
3197 3197
3198 } } // namespace v8::internal 3198 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698