[heap] Reduce page size to 256KB
The page size of PPC is kept unchanged because PPC has larger physical pages (64KB). Bug: chromium:852420 Change-Id: Ib888ea00a476ff103e00211dbb439186148ef81e Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1481631 Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Hannes Payer <hpayer@chromium.org> Reviewed-by: Junliang Yan <jyan@ca.ibm.com> Cr-Commit-Position: refs/heads/master@{#60296}
This commit is contained in:
parent
15bc6a112c
commit
8f1c985c55
@ -201,8 +201,12 @@
|
||||
#define V8_TARGET_ARCH_STORES_RETURN_ADDRESS_ON_STACK false
|
||||
#endif
|
||||
|
||||
// Number of bits to represent the page size for paged spaces. The value of 19
|
||||
// gives 512Kb bytes per page.
|
||||
// Number of bits to represent the page size for paged spaces.
|
||||
#if defined(V8_TARGET_ARCH_PPC) || defined(V8_TARGET_ARCH_PPC64)
|
||||
// PPC has large (64KB) physical pages.
|
||||
const int kPageSizeBits = 19;
|
||||
#else
|
||||
const int kPageSizeBits = 18;
|
||||
#endif
|
||||
|
||||
#endif // V8_BASE_BUILD_CONFIG_H_
|
||||
|
@ -1948,7 +1948,7 @@ class V8_EXPORT_PRIVATE FreeList {
|
||||
static const size_t kTinyListMax = 0x1f * kTaggedSize;
|
||||
static const size_t kSmallListMax = 0xff * kTaggedSize;
|
||||
static const size_t kMediumListMax = 0x7ff * kTaggedSize;
|
||||
static const size_t kLargeListMax = 0x2fff * kTaggedSize;
|
||||
static const size_t kLargeListMax = 0x1fff * kTaggedSize;
|
||||
static const size_t kTinyAllocationMax = kTiniestListMax;
|
||||
static const size_t kSmallAllocationMax = kTinyListMax;
|
||||
static const size_t kMediumAllocationMax = kSmallListMax;
|
||||
|
@ -396,40 +396,40 @@ KNOWN_OBJECTS = {
|
||||
("RO_SPACE", 0x02b09): "SelfReferenceMarker",
|
||||
("RO_SPACE", 0x02b61): "OffHeapTrampolineRelocationInfo",
|
||||
("RO_SPACE", 0x02b79): "HashSeed",
|
||||
("OLD_SPACE", 0x00139): "ArgumentsIteratorAccessor",
|
||||
("OLD_SPACE", 0x001a9): "ArrayLengthAccessor",
|
||||
("OLD_SPACE", 0x00219): "BoundFunctionLengthAccessor",
|
||||
("OLD_SPACE", 0x00289): "BoundFunctionNameAccessor",
|
||||
("OLD_SPACE", 0x002f9): "ErrorStackAccessor",
|
||||
("OLD_SPACE", 0x00369): "FunctionArgumentsAccessor",
|
||||
("OLD_SPACE", 0x003d9): "FunctionCallerAccessor",
|
||||
("OLD_SPACE", 0x00449): "FunctionNameAccessor",
|
||||
("OLD_SPACE", 0x004b9): "FunctionLengthAccessor",
|
||||
("OLD_SPACE", 0x00529): "FunctionPrototypeAccessor",
|
||||
("OLD_SPACE", 0x00599): "StringLengthAccessor",
|
||||
("OLD_SPACE", 0x00609): "InvalidPrototypeValidityCell",
|
||||
("OLD_SPACE", 0x00619): "EmptyScript",
|
||||
("OLD_SPACE", 0x00699): "ManyClosuresCell",
|
||||
("OLD_SPACE", 0x006a9): "ArrayConstructorProtector",
|
||||
("OLD_SPACE", 0x006b9): "NoElementsProtector",
|
||||
("OLD_SPACE", 0x006e1): "IsConcatSpreadableProtector",
|
||||
("OLD_SPACE", 0x006f1): "ArraySpeciesProtector",
|
||||
("OLD_SPACE", 0x00719): "TypedArraySpeciesProtector",
|
||||
("OLD_SPACE", 0x00741): "RegExpSpeciesProtector",
|
||||
("OLD_SPACE", 0x00769): "PromiseSpeciesProtector",
|
||||
("OLD_SPACE", 0x00791): "StringLengthProtector",
|
||||
("OLD_SPACE", 0x007a1): "ArrayIteratorProtector",
|
||||
("OLD_SPACE", 0x007c9): "ArrayBufferDetachingProtector",
|
||||
("OLD_SPACE", 0x007f1): "PromiseHookProtector",
|
||||
("OLD_SPACE", 0x00819): "PromiseResolveProtector",
|
||||
("OLD_SPACE", 0x00829): "MapIteratorProtector",
|
||||
("OLD_SPACE", 0x00851): "PromiseThenProtector",
|
||||
("OLD_SPACE", 0x00879): "SetIteratorProtector",
|
||||
("OLD_SPACE", 0x008a1): "StringIteratorProtector",
|
||||
("OLD_SPACE", 0x008c9): "SingleCharacterStringCache",
|
||||
("OLD_SPACE", 0x010d9): "StringSplitCache",
|
||||
("OLD_SPACE", 0x018e9): "RegExpMultipleCache",
|
||||
("OLD_SPACE", 0x020f9): "BuiltinsConstantsTable",
|
||||
("OLD_SPACE", 0x40139): "ArgumentsIteratorAccessor",
|
||||
("OLD_SPACE", 0x401a9): "ArrayLengthAccessor",
|
||||
("OLD_SPACE", 0x40219): "BoundFunctionLengthAccessor",
|
||||
("OLD_SPACE", 0x40289): "BoundFunctionNameAccessor",
|
||||
("OLD_SPACE", 0x402f9): "ErrorStackAccessor",
|
||||
("OLD_SPACE", 0x40369): "FunctionArgumentsAccessor",
|
||||
("OLD_SPACE", 0x403d9): "FunctionCallerAccessor",
|
||||
("OLD_SPACE", 0x40449): "FunctionNameAccessor",
|
||||
("OLD_SPACE", 0x404b9): "FunctionLengthAccessor",
|
||||
("OLD_SPACE", 0x40529): "FunctionPrototypeAccessor",
|
||||
("OLD_SPACE", 0x40599): "StringLengthAccessor",
|
||||
("OLD_SPACE", 0x40609): "InvalidPrototypeValidityCell",
|
||||
("OLD_SPACE", 0x40619): "EmptyScript",
|
||||
("OLD_SPACE", 0x40699): "ManyClosuresCell",
|
||||
("OLD_SPACE", 0x406a9): "ArrayConstructorProtector",
|
||||
("OLD_SPACE", 0x406b9): "NoElementsProtector",
|
||||
("OLD_SPACE", 0x406e1): "IsConcatSpreadableProtector",
|
||||
("OLD_SPACE", 0x406f1): "ArraySpeciesProtector",
|
||||
("OLD_SPACE", 0x40719): "TypedArraySpeciesProtector",
|
||||
("OLD_SPACE", 0x40741): "RegExpSpeciesProtector",
|
||||
("OLD_SPACE", 0x40769): "PromiseSpeciesProtector",
|
||||
("OLD_SPACE", 0x40791): "StringLengthProtector",
|
||||
("OLD_SPACE", 0x407a1): "ArrayIteratorProtector",
|
||||
("OLD_SPACE", 0x407c9): "ArrayBufferDetachingProtector",
|
||||
("OLD_SPACE", 0x407f1): "PromiseHookProtector",
|
||||
("OLD_SPACE", 0x40819): "PromiseResolveProtector",
|
||||
("OLD_SPACE", 0x40829): "MapIteratorProtector",
|
||||
("OLD_SPACE", 0x40851): "PromiseThenProtector",
|
||||
("OLD_SPACE", 0x40879): "SetIteratorProtector",
|
||||
("OLD_SPACE", 0x408a1): "StringIteratorProtector",
|
||||
("OLD_SPACE", 0x408c9): "SingleCharacterStringCache",
|
||||
("OLD_SPACE", 0x410d9): "StringSplitCache",
|
||||
("OLD_SPACE", 0x418e9): "RegExpMultipleCache",
|
||||
("OLD_SPACE", 0x420f9): "BuiltinsConstantsTable",
|
||||
}
|
||||
|
||||
# List of known V8 Frame Markers.
|
||||
|
Loading…
Reference in New Issue
Block a user