Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index 520a4060ca4c8280bc324f1c17228254e0c0a06b..d133353b2d353303b4d456e15a1fd8a826511c7e 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -2235,7 +2235,7 @@ FreeSpace* FreeListCategory::PickNodeFromList(int* node_size) { |
Page* page = Page::FromAddress(node->address()); |
while ((node != nullptr) && page->IsEvacuationCandidate()) { |
- available_ -= node->Size(); |
+ available_ -= node->size(); |
page->add_available_in_free_list(type_, -(node->Size())); |
node = node->next(); |
} |