Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index 0272d59944149009fe3c01a6941052520772a1ec..e06f9eee113e7bade9af6499c6a7d4c3c00cbed0 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -34,7 +34,7 @@ class Isolate; |
// area. |
// |
// There is a separate large object space for objects larger than |
-// Page::kMaxHeapObjectSize, so that they do not have to move during |
+// Page::kMaxRegularHeapObjectSize, so that they do not have to move during |
// collection. The large object space is paged. Pages in large object space |
// may be larger than the page size. |
// |
@@ -2692,9 +2692,9 @@ class CellSpace : public PagedSpace { |
// ----------------------------------------------------------------------------- |
-// Large objects ( > Page::kMaxHeapObjectSize ) are allocated and managed by |
-// the large object space. A large object is allocated from OS heap with |
-// extra padding bytes (Page::kPageSize + Page::kObjectStartOffset). |
+// Large objects ( > Page::kMaxRegularHeapObjectSize ) are allocated and |
+// managed by the large object space. A large object is allocated from OS |
+// heap with extra padding bytes (Page::kPageSize + Page::kObjectStartOffset). |
// A large object always starts at Page::kObjectStartOffset to a page. |
// Large objects do not move during garbage collections. |