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

Unified Diff: runtime/vm/service.cc

Issue 2026643004: Don't overload FreeListElement for become. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/scavenger.cc ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index fc78a4879bb26214aa9c91ff5025ea6899a97b91..8b3f77f6662dab92d5fe488dea598b52ad4a0f82 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -2217,7 +2217,7 @@ class GetInstancesVisitor : public ObjectGraph::Visitor {
virtual Direction VisitObject(ObjectGraph::StackIterator* it) {
RawObject* raw_obj = it->Get();
- if (raw_obj->IsFreeListElement()) {
+ if (raw_obj->IsPseudoObject()) {
return kProceed;
}
Thread* thread = Thread::Current();
@@ -3341,8 +3341,7 @@ class ContainsAddressVisitor : public FindObjectVisitor {
virtual uword filter_addr() const { return addr_; }
virtual bool FindObject(RawObject* obj) const {
- // Free list elements are not real objects, so skip them.
- if (obj->IsFreeListElement()) {
+ if (obj->IsPseudoObject()) {
return false;
}
uword obj_begin = RawObject::ToAddr(obj);
« no previous file with comments | « runtime/vm/scavenger.cc ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698