Revision: 21412
Author: [email protected]
Date: Wed May 21 12:58:06 2014 UTC
Log: Revert "Increase external allocation limit."
BUG=
Review URL: https://codereview.chromium.org/292983010
http://code.google.com/p/v8/source/detail?r=21412
Modified:
/branches/bleeding_edge/src/heap.cc
=======================================
--- /branches/bleeding_edge/src/heap.cc Wed May 21 12:43:05 2014 UTC
+++ /branches/bleeding_edge/src/heap.cc Wed May 21 12:58:06 2014 UTC
@@ -5052,8 +5052,9 @@
initial_semispace_size_ = Min(initial_semispace_size_,
max_semi_space_size_);
// The external allocation limit should be below 256 MB on all
architectures
- // to avoid that resource-constrained embedders run low on memory.
- external_allocation_limit_ = 24 * max_semi_space_size_;
+ // to avoid unnecessary low memory notifications, as that is the
threshold
+ // for some embedders.
+ external_allocation_limit_ = 12 * max_semi_space_size_;
ASSERT(external_allocation_limit_ <= 256 * MB);
// The old generation is paged and needs at least one page for each
space.
--
--
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.