Reviewers: Igor Sheludko,

Description:
Version 3.27.34.9 (merged r22667)

Reduce max executable size limit.

BUG=395679
LOG=N
[email protected]

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

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

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


Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index b5f42b4316793e459d33ad9e65d5831de144626d..d05e3502518f7af536efb87f3d1404c41d9340f5 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1076,14 +1076,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);
Index: src/version.cc
diff --git a/src/version.cc b/src/version.cc
index 2e972ba8da535df3410985db1741dc807eb75a8d..1ad51c7f8a89e6f762aa3d76a69cd61a01139937 100644
--- a/src/version.cc
+++ b/src/version.cc
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     27
 #define BUILD_NUMBER      34
-#define PATCH_LEVEL       8
+#define PATCH_LEVEL       9
 // Use 1 for candidates and 0 otherwise.
 // (Boolean macro values are not supported by all preprocessors.)
 #define IS_CANDIDATE_VERSION 0


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