Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 94e665f571918df456f387a7cac6c9ad862708ab..80f36d89de31ea8a837676f6bff75a2fcba4d710 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -201,9 +201,7 @@ |
// 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. |
-// |
-// Current value: Page::kAllocatableMemory (on 32-bit arch) - 512 (slack). |
-const int kMaxRegularHeapObjectSize = 507136; |
+const int kMaxRegularHeapObjectSize = 512 * KB - 512; |
STATIC_ASSERT(kPointerSize == (1 << kPointerSizeLog2)); |