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

Unified Diff: src/heap/mark-compact.cc

Issue 2871543002: [heap] Minor MC: Flush concurrent external memory counter (Closed)
Patch Set: Disable again Created 3 years, 7 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/mark-compact.cc
diff --git a/src/heap/mark-compact.cc b/src/heap/mark-compact.cc
index cd9f548f534f2194a6a0e3451d747bcee5fbe2c9..ae73860db14ea3737c7675315fd302b3e4f1770e 100644
--- a/src/heap/mark-compact.cc
+++ b/src/heap/mark-compact.cc
@@ -2610,6 +2610,8 @@ void MinorMarkCompactCollector::CollectGarbage() {
marking_state(p).ClearLiveness();
}
}
+
+ heap()->account_external_memory_concurrently_freed();
}
void MinorMarkCompactCollector::ClearNonLiveReferences() {
« 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