Reviewers: Hannes Payer,
Description:
Reduce allowance in the first code page at start up.
This has become possible since we moved a few experimental
Javascript features to default.
[email protected]
BUG=chromium:506044
LOG=N
Please review this at https://codereview.chromium.org/1262833002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/snapshot/snapshot-common.cc
Index: src/snapshot/snapshot-common.cc
diff --git a/src/snapshot/snapshot-common.cc
b/src/snapshot/snapshot-common.cc
index
24c6f4eda4e4c8a84b7d8fb81e57cbc2702bafb7..743178b51be24d50a99f17a3d6b0014439b6dd44
100644
--- a/src/snapshot/snapshot-common.cc
+++ b/src/snapshot/snapshot-common.cc
@@ -137,7 +137,7 @@ void CalculateFirstPageSizes(bool is_default_snapshot,
2 * context_reservations[context_index].chunk_size()) +
Page::kObjectStartOffset;
// Add a small allowance to the code space for small scripts.
- if (space == CODE_SPACE) required += 64 * KB;
+ if (space == CODE_SPACE) required += 32 * KB;
} else {
// We expect the vanilla snapshot to only require on page per space.
DCHECK(!is_default_snapshot);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.