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

Unified Diff: runtime/vm/heap.cc

Issue 2654183002: Rename references to "external pages" as "snapshot pages" to avoid confusion with the kind of exter… (Closed)
Patch Set: image Created 3 years, 11 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
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index 4c9b73b1eb2bc91e3e0875b330d1d85e5efa7bf2..d8ce15740a980e1d6327333eb41a7baa3d1013b4 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -189,14 +189,14 @@ void Heap::VisitObjects(ObjectVisitor* visitor) const {
}
-void Heap::VisitObjectsNoExternalPages(ObjectVisitor* visitor) const {
+void Heap::VisitObjectsNoImagePages(ObjectVisitor* visitor) const {
new_space_.VisitObjects(visitor);
- old_space_.VisitObjectsNoExternalPages(visitor);
+ old_space_.VisitObjectsNoImagePages(visitor);
}
-void Heap::VisitObjectsExternalPages(ObjectVisitor* visitor) const {
- old_space_.VisitObjectsExternalPages(visitor);
+void Heap::VisitObjectsImagePages(ObjectVisitor* visitor) const {
+ old_space_.VisitObjectsImagePages(visitor);
}
@@ -258,9 +258,9 @@ void Heap::IterateOldObjects(ObjectVisitor* visitor) const {
}
-void Heap::IterateOldObjectsNoExternalPages(ObjectVisitor* visitor) const {
+void Heap::IterateOldObjectsNoImagePages(ObjectVisitor* visitor) const {
HeapIterationScope heap_iteration_scope;
- old_space_.VisitObjectsNoExternalPages(visitor);
+ old_space_.VisitObjectsNoImagePages(visitor);
}
@@ -531,12 +531,12 @@ ObjectSet* Heap::CreateAllocatedObjectSet(
{
VerifyObjectVisitor object_visitor(isolate(), allocated_set,
mark_expectation);
- this->VisitObjectsNoExternalPages(&object_visitor);
+ this->VisitObjectsNoImagePages(&object_visitor);
}
{
VerifyObjectVisitor object_visitor(isolate(), allocated_set,
kRequireMarked);
- this->VisitObjectsExternalPages(&object_visitor);
+ this->VisitObjectsImagePages(&object_visitor);
}
Isolate* vm_isolate = Dart::vm_isolate();
« no previous file with comments | « runtime/vm/heap.h ('k') | runtime/vm/isolate.h » ('j') | runtime/vm/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698