Reviewers: mvstanton,

Description:
Make the full object memory size of a page available for a single allocation.

BUG=

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

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

Affected files (+1, -5 lines):
  M src/spaces.h
  M test/mjsunit/mjsunit.status


Index: src/spaces.h
diff --git a/src/spaces.h b/src/spaces.h
index 44e8cb6e33161393f5d494537a31929181ed44a0..d1278f03dae499cbe4b10f22388472524d152112 100644
--- a/src/spaces.h
+++ b/src/spaces.h
@@ -786,8 +786,7 @@ class Page : public MemoryChunk {
// are allocated in large object space and are never moved in memory. This
   // also applies to new space allocation, since objects are never migrated
// from new space to large object space. Takes double alignment into account.
-  static const int kMaxNonCodeHeapObjectSize =
-      kNonCodeObjectAreaSize - kPointerSize;
+  static const int kMaxNonCodeHeapObjectSize = kNonCodeObjectAreaSize;

   // Page size mask.
   static const intptr_t kPageAlignmentMask = (1 << kPageSizeBits) - 1;
Index: test/mjsunit/mjsunit.status
diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status
index 72439bf17538a2b3170952375f431100adaf0de2..2669d0f33b2b551071684bdb3de66b5c49047762 100644
--- a/test/mjsunit/mjsunit.status
+++ b/test/mjsunit/mjsunit.status
@@ -35,9 +35,6 @@
   # BUG(v8:2921).
   'debug-step-4-in-frame': [PASS, FAIL, SLOW],

-  # TODO(hpayer): Investigate.
-  'json2': [PASS, FLAKY],
-
##############################################################################
   # Fails.
   'regress/regress-1119': [FAIL],


--
--
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