Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index a7d872128f0c2f087d6125207dc5e3e53b68fe09..7c2789ec196add16d7fbc1ea8b806ea162cba8fd 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -3126,8 +3126,8 @@ |
Address free_start; |
if ((free_start = current->GetAddressToShrink()) != 0) { |
// TODO(hpayer): Perform partial free concurrently. |
+ heap()->memory_allocator()->PartialFreeMemory(current, free_start); |
RemoveChunkMapEntries(current, free_start); |
- heap()->memory_allocator()->PartialFreeMemory(current, free_start); |
} |
previous = current; |
current = current->next_page(); |