Commit 9e2395c8 authored by Bartek Nowierski's avatar Bartek Nowierski Committed by Commit Bot

[PartitionAlloc] Enable GigaCage by default

No performance / memory / stability regression is observed. See comments
#34 and #35 on crbug/1086388


Bug: 1086388, 1093838
Change-Id: I367b781a681b350883cde39b27ac505b3722bbba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2548702
Commit-Queue: Bartek Nowierski <bartekn@chromium.org>
Auto-Submit: Bartek Nowierski <bartekn@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#829108}
parent a22586ae
...@@ -13,11 +13,11 @@ namespace features { ...@@ -13,11 +13,11 @@ namespace features {
// If enabled, PartitionAllocator reserves an address space(named, giga cage) // If enabled, PartitionAllocator reserves an address space(named, giga cage)
// initially and uses a part of the address space for each allocation. // initially and uses a part of the address space for each allocation.
const Feature kPartitionAllocGigaCage{"PartitionAllocGigaCage", const Feature kPartitionAllocGigaCage{"PartitionAllocGigaCage",
FEATURE_DISABLED_BY_DEFAULT}; FEATURE_ENABLED_BY_DEFAULT};
#else #else
// If enabled, PartitionAllocator remembers allocated address space. // If enabled, PartitionAllocator remembers allocated address space.
const Feature kPartitionAllocGigaCage{"PartitionAllocGigaCage32bit", const Feature kPartitionAllocGigaCage{"PartitionAllocGigaCage32bit",
FEATURE_DISABLED_BY_DEFAULT}; FEATURE_ENABLED_BY_DEFAULT};
#endif #endif
// If enabled, PCScan is turned on by default for all partitions that don't // If enabled, PCScan is turned on by default for all partitions that don't
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment