Reviewers: Igor Sheludko,

Description:
Version 3.26.31.13 (merged r22667)

Reduce max executable size limit.

BUG=395679
LOG=N
[email protected]

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

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

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


Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index fabded0eb0146f7c2fc13a59df1c7f0046bf91d3..5798ad5cdc428d17d57a63f8dd3911ea8cf897b8 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1087,10 +1087,10 @@ class Heap {
   static const int kMaxOldSpaceSizeHugeMemoryDevice = 700 * kLumpOfMemory;

   // The executable size has to be a multiple of Page::kPageSize.
-  static const int kMaxExecutableSizeLowMemoryDevice = 128 * kLumpOfMemory;
- static const int kMaxExecutableSizeMediumMemoryDevice = 256 * kLumpOfMemory; - static const int kMaxExecutableSizeHighMemoryDevice = 512 * kLumpOfMemory; - static const int kMaxExecutableSizeHugeMemoryDevice = 700 * kLumpOfMemory;
+  static const int kMaxExecutableSizeLowMemoryDevice = 96 * kLumpOfMemory;
+ static const int kMaxExecutableSizeMediumMemoryDevice = 192 * kLumpOfMemory; + static const int kMaxExecutableSizeHighMemoryDevice = 256 * kLumpOfMemory; + static const int kMaxExecutableSizeHugeMemoryDevice = 256 * kLumpOfMemory;

   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 014ab924fe5ef3ddbe90d51d2a3121ee2fef8b42..28cf5fd0cb4534d11076166be23f03e2e1838335 100644
--- a/src/version.cc
+++ b/src/version.cc
@@ -35,7 +35,7 @@
 #define MAJOR_VERSION     3
 #define MINOR_VERSION     26
 #define BUILD_NUMBER      31
-#define PATCH_LEVEL       12
+#define PATCH_LEVEL       13
 // 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