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

Side by Side Diff: src/spaces.cc

Issue 17027006: Decrease size of first page of property cell space. (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 | test/cctest/test-mark-compact.cc » ('j') | 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 = 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
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
OLDNEW
« no previous file with comments | « no previous file | test/cctest/test-mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698