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

Unified Diff: runtime/vm/pages.cc

Issue 1016503005: Rename NoGCScope -> NoSafepointScope. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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/object_graph_test.cc ('k') | runtime/vm/profiler_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.cc
===================================================================
--- runtime/vm/pages.cc (revision 44579)
+++ runtime/vm/pages.cc (working copy)
@@ -448,7 +448,7 @@
private:
const PageSpace* space_;
MutexLocker ml_;
- NoGCScope no_gc;
+ NoSafepointScope no_safepoint;
HeapPage* page_;
};
@@ -471,7 +471,7 @@
private:
const PageSpace* space_;
MutexLocker ml_;
- NoGCScope no_gc;
+ NoSafepointScope no_safepoint;
HeapPage* page_;
};
@@ -493,7 +493,7 @@
private:
const PageSpace* space_;
MutexLocker ml_;
- NoGCScope no_gc;
+ NoSafepointScope no_safepoint;
HeapPage* page_;
};
@@ -670,7 +670,7 @@
// TODO(19445): Use ExclusivePageIterator once HeapMap supports large pages.
MutexLocker ml(pages_lock_);
MakeIterable();
- NoGCScope no_gc;
+ NoSafepointScope no_safepoint;
JSONArray all_pages(&heap_map, "pages");
for (HeapPage* page = pages_; page != NULL; page = page->next()) {
JSONObject page_container(&all_pages);
@@ -713,7 +713,7 @@
void PageSpace::WriteProtectCode(bool read_only) {
if (FLAG_write_protect_code) {
MutexLocker ml(pages_lock_);
- NoGCScope no_gc;
+ NoSafepointScope no_safepoint;
// No need to go through all of the data pages first.
HeapPage* page = exec_pages_;
while (page != NULL) {
« no previous file with comments | « runtime/vm/object_graph_test.cc ('k') | runtime/vm/profiler_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698