Reviewers: jarin,

Description:
Reduce max executable size limit.

BUG=395679
LOG=n

Please review this at https://codereview.chromium.org/413313003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+4, -5 lines):
  M src/heap.h


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);


--
--
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.

Reply via email to