Reduce maximal code range size to 128M on Linux, Windows, and OSX for x64 and ia32.

Bug: chromium:800348, chromium:827627, chromium:839750
Change-Id: I112e20b83eb1937476ebb4f30cf5679113759c0c
Reviewed-on: https://chromium-review.googlesource.com/1044195
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Commit-Queue: Hannes Payer <hpayer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52996}
This commit is contained in:
Hannes Payer 2018-05-04 15:05:33 +02:00 committed by Commit Bot
parent c20d7f6605
commit 6b1457cfd6

View File

@ -200,7 +200,7 @@ constexpr size_t kCodeRangeAreaAlignment = 64 * KB; // OS page on PPC Linux
constexpr size_t kMaximalCodeRangeSize = 128 * MB;
constexpr size_t kCodeRangeAreaAlignment = 4 * KB; // OS page.
#else
constexpr size_t kMaximalCodeRangeSize = 512 * MB;
constexpr size_t kMaximalCodeRangeSize = 128 * MB;
constexpr size_t kCodeRangeAreaAlignment = 4 * KB; // OS page.
#endif
#if V8_OS_WIN