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

Unified Diff: runtime/vm/gc_sweeper.cc

Issue 488943002: - Stop-the-world sweep uses pre-locked free list access. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 | runtime/vm/pages.cc » ('j') | runtime/vm/pages.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/gc_sweeper.cc
===================================================================
--- runtime/vm/gc_sweeper.cc (revision 39397)
+++ runtime/vm/gc_sweeper.cc (working copy)
@@ -45,7 +45,7 @@
}
if ((current != start) || (free_end != end)) {
// Only add to the free list if not covering the whole page.
- freelist->Free(current, obj_size);
+ freelist->FreeLocked(current, obj_size);
koda 2014/08/20 13:52:22 SweepPage now assumes that 'freelist' is locked, s
Ivan Posva 2014/08/20 14:10:20 Done.
}
}
current += obj_size;
« no previous file with comments | « no previous file | runtime/vm/pages.cc » ('j') | runtime/vm/pages.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698