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

Side by Side Diff: src/base/build_config.h

Issue 2229403003: Revert of [heap] Switch to 500k pages (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | src/heap/heap.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_BASE_BUILD_CONFIG_H_ 5 #ifndef V8_BASE_BUILD_CONFIG_H_
6 #define V8_BASE_BUILD_CONFIG_H_ 6 #define V8_BASE_BUILD_CONFIG_H_
7 7
8 #include "include/v8config.h" 8 #include "include/v8config.h"
9 9
10 // Processor architecture detection. For more info on what's defined, see: 10 // Processor architecture detection. For more info on what's defined, see:
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 #else 193 #else
194 #define V8_TARGET_ARCH_STORES_RETURN_ADDRESS_ON_STACK 0 194 #define V8_TARGET_ARCH_STORES_RETURN_ADDRESS_ON_STACK 0
195 #endif 195 #endif
196 196
197 // Number of bits to represent the page size for paged spaces. The value of 20 197 // Number of bits to represent the page size for paged spaces. The value of 20
198 // gives 1Mb bytes per page. 198 // gives 1Mb bytes per page.
199 #if V8_HOST_ARCH_PPC && V8_TARGET_ARCH_PPC && V8_OS_LINUX 199 #if V8_HOST_ARCH_PPC && V8_TARGET_ARCH_PPC && V8_OS_LINUX
200 // Bump up for Power Linux due to larger (64K) page size. 200 // Bump up for Power Linux due to larger (64K) page size.
201 const int kPageSizeBits = 22; 201 const int kPageSizeBits = 22;
202 #else 202 #else
203 const int kPageSizeBits = 19; 203 const int kPageSizeBits = 20;
204 #endif 204 #endif
205 205
206 #endif // V8_BASE_BUILD_CONFIG_H_ 206 #endif // V8_BASE_BUILD_CONFIG_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698