Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: src/heap.h

Issue 413313003: Reduce max executable size limit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index 944babbb2baa1c0b7c87fc1a2493025a7dc70c33..7ef562d30f2fc13425218d6dbbe32946ea86b7f5 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1085,14 +1085,13 @@ class Heap {
// The executable size has to be a multiple of Page::kPageSize.
// Sizes are in MB.
- static const int kMaxExecutableSizeLowMemoryDevice =
- 128 * kPointerMultiplier;
+ static const int kMaxExecutableSizeLowMemoryDevice = 96 * kPointerMultiplier;
static const int kMaxExecutableSizeMediumMemoryDevice =
- 256 * kPointerMultiplier;
+ 192 * kPointerMultiplier;
static const int kMaxExecutableSizeHighMemoryDevice =
- 512 * kPointerMultiplier;
+ 256 * kPointerMultiplier;
static const int kMaxExecutableSizeHugeMemoryDevice =
- 700 * kPointerMultiplier;
+ 256 * kPointerMultiplier;
intptr_t OldGenerationAllocationLimit(intptr_t old_gen_size,
int freed_global_handles);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698