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

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

Issue 2390743005: [heap] Concurrently free empty slot set buckets. (Closed)
Patch Set: Created 4 years, 2 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 | src/heap/remembered-set.h » ('j') | src/heap/slot-set.h » ('J')
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 38c32befdb16f1b02f5097d5fadb14a836074793..4b8033d11789827bcbfcc19194be6fdb5ffb0e44 100644
--- a/src/heap/mark-compact.cc
+++ b/src/heap/mark-compact.cc
@@ -3830,6 +3830,9 @@ int MarkCompactCollector::Sweeper::ParallelSweepPage(Page* page,
if (page->typed_old_to_new_slots()) {
page->typed_old_to_new_slots()->FreeToBeFreedChunks();
}
+ if (page->old_to_new_slots()) {
+ page->old_to_new_slots()->FreeToBeFreedBuckets();
+ }
{
base::LockGuard<base::Mutex> guard(&mutex_);
« no previous file with comments | « no previous file | src/heap/remembered-set.h » ('j') | src/heap/slot-set.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698