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

Unified Diff: runtime/vm/pages.cc

Issue 1292063004: Add NoSafepointScope to ObjectPointerVisitor. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Move implementation. Created 5 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 | « runtime/vm/heap.cc ('k') | runtime/vm/raw_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.cc
diff --git a/runtime/vm/pages.cc b/runtime/vm/pages.cc
index 0457b3d8104c22c1f838f9fefd16e77ac8c0eb19..f45c5b04a95f5715b7f77d3ab3e2ccd2571e8ffe 100644
--- a/runtime/vm/pages.cc
+++ b/runtime/vm/pages.cc
@@ -771,7 +771,7 @@ void PageSpace::MarkSweep(bool invoke_api_callbacks) {
// Perform various cleanup that relies on no tasks interfering.
isolate->class_table()->FreeOldTables();
- NoHandleScope no_handles(isolate);
+ NoSafepointScope no_safepoints;
if (FLAG_print_free_list_before_gc) {
OS::Print("Data Freelist (before GC):\n");
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/raw_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698