Reviewers: Vyacheslav Egorov,

Description:
Increase the size of the max object that can be new space allocated.
This is neutral on in-browser SunSpider, but beneficial on other
things, and is likely to lower memory use by collecting earlier.

Please review this at http://codereview.chromium.org/5753003/

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

Affected files:
  M     src/heap.h


Index: src/heap.h
===================================================================
--- src/heap.h  (revision 5964)
+++ src/heap.h  (working copy)
@@ -1119,9 +1119,9 @@
   static int contexts_disposed_;

 #if defined(V8_TARGET_ARCH_X64)
+  static const int kMaxObjectSizeInNewSpace = 1024*KB;
+#else
   static const int kMaxObjectSizeInNewSpace = 512*KB;
-#else
-  static const int kMaxObjectSizeInNewSpace = 256*KB;
 #endif

   static NewSpace new_space_;


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to