Reviewers: danno,

Description:
Decrease size of first page of property cell space.

BUG=

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

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

Affected files:
  M src/spaces.cc
  M test/cctest/test-mark-compact.cc


Index: src/spaces.cc
diff --git a/src/spaces.cc b/src/spaces.cc
index 50530a19572afec1f9fde0fa6e9a3a83fc4d6344..6415d0666e159b34bd86c2442f408ebcc91fcde2 100644
--- a/src/spaces.cc
+++ b/src/spaces.cc
@@ -1045,7 +1045,7 @@ intptr_t PagedSpace::SizeOfFirstPage() {
       size = 16 * kPointerSize * KB;
       break;
     case PROPERTY_CELL_SPACE:
-      size = 16 * kPointerSize * KB;
+      size = 8 * kPointerSize * KB;
       break;
     case CODE_SPACE:
       if (heap()->isolate()->code_range()->exists()) {
Index: test/cctest/test-mark-compact.cc
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc index 4487c16f15c7cd1623a49e7bfcf31ac014c64741..f6f2172a7b316760fad09d1e7d4c92ab0c138a1b 100644
--- a/test/cctest/test-mark-compact.cc
+++ b/test/cctest/test-mark-compact.cc
@@ -557,7 +557,7 @@ TEST(BootUpMemoryUse) {
       }
     } else {                            // 32-bit.
       if (v8::internal::Snapshot::IsEnabled()) {
-        CHECK_LE(delta, 2942 * 1024);
+        CHECK_LE(delta, 2910 * 1024);
       } else {
         CHECK_LE(delta, 3400 * 1024);
       }


--
--
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/groups/opt_out.


Reply via email to