Changeset 249856 in webkit
- Timestamp:
- Sep 13, 2019, 3:06:51 PM (6 years ago)
- Location:
- trunk/Source/bmalloc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/bmalloc/ChangeLog
r249670 r249856 1 2019-09-13 Mark Lam <mark.lam@apple.com> 2 3 We should never fail to allocate VA for the Gigacage. 4 https://bugs.webkit.org/show_bug.cgi?id=201774 5 <rdar://problem/55352042> 6 7 Reviewed by Yusuke Suzuki. 8 9 Unfortunately, this is still not true for OS(LINUX). So, I'll leave the 10 GIGACAGE_ALLOCATION_CAN_FAIL code in place but disable it for everything else. 11 12 * bmalloc/Gigacage.h: 13 1 14 2019-09-09 Michael Saboff <msaboff@apple.com> 2 15 -
trunk/Source/bmalloc/bmalloc/Gigacage.h
r249613 r249856 72 72 constexpr size_t maximumCageSizeReductionForSlide = bmalloc::Sizes::GB / 4; 73 73 constexpr size_t configSizeToProtect = 16 * bmalloc::Sizes::kB; 74 #define GIGACAGE_ALLOCATION_CAN_FAIL 175 74 #else 76 75 constexpr size_t primitiveGigacageSize = 32 * bmalloc::Sizes::GB; … … 78 77 constexpr size_t maximumCageSizeReductionForSlide = 4 * bmalloc::Sizes::GB; 79 78 constexpr size_t configSizeToProtect = 4 * bmalloc::Sizes::kB; 80 #define GIGACAGE_ALLOCATION_CAN_FAIL 081 79 #endif 82 80 … … 84 82 // So we specify GIGACAGE_ALLOCATION_CAN_FAIL = 1. 85 83 #if BOS(LINUX) 86 #undef GIGACAGE_ALLOCATION_CAN_FAIL87 84 #define GIGACAGE_ALLOCATION_CAN_FAIL 1 85 #else 86 #define GIGACAGE_ALLOCATION_CAN_FAIL 0 88 87 #endif 89 88
Note:
See TracChangeset
for help on using the changeset viewer.