Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index 3f2d22bee06cc5d8d726a1e3b270b9ba208e5a59..df3adebe1d6b9fae22b860ec8cd0c6e8a3c35b5c 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -37,7 +37,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. |
// |
@@ -2996,9 +2996,9 @@ class MapSpace : 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. |