Revision: 6152
Author: [email protected]
Date: Tue Jan  4 04:11:19 2011
Log: Reduce Page::kMaxHeapObjectSize.

Having 1mb objects in normal paged space does not make much sense.

This also reduces size of OldSpaceFreeList::free_ array.

Review URL: http://codereview.chromium.org/5987011
http://code.google.com/p/v8/source/detail?r=6152

Modified:
 /branches/experimental/gc/src/spaces.h

=======================================
--- /branches/experimental/gc/src/spaces.h      Thu Dec 23 08:04:56 2010
+++ /branches/experimental/gc/src/spaces.h      Tue Jan  4 04:11:19 2011
@@ -314,7 +314,7 @@
   static const int kObjectAreaSize = kPageSize - kObjectStartOffset;

   // Maximum object size that fits in a page.
-  static const int kMaxHeapObjectSize = kObjectAreaSize;
+  static const int kMaxHeapObjectSize = kObjectAreaSize >> 4;

 #ifdef ENABLE_CARDMARKING_WRITE_BARRIER
   static const int kDirtyFlagOffset = 2 * kPointerSize;

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

Reply via email to