Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: src/heap/spaces.cc

Issue 2046283002: Revert of [heap] Fix chunk map removal for large objects. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698