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

Unified Diff: runtime/vm/scavenger.cc

Issue 1965823002: Initial isolate reload support (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
Index: runtime/vm/scavenger.cc
diff --git a/runtime/vm/scavenger.cc b/runtime/vm/scavenger.cc
index 117e525f396fb19154e11732ada6c7e5cb363873..2ca7b09003a4e21d8c36218579243a4c21bf687f 100644
--- a/runtime/vm/scavenger.cc
+++ b/runtime/vm/scavenger.cc
@@ -525,6 +525,13 @@ void Scavenger::IterateStoreBuffers(Isolate* isolate,
total_count += count;
while (!pending->IsEmpty()) {
RawObject* raw_object = pending->Pop();
+ if (raw_object->IsFreeListElement()) {
+ // TODO(rmacnak): Forwarding corpse from become. Probably we should also
+ // visit the store buffer blocks during become, and mark any forwardees
+ // as remembered if their forwarders are remembered to satisfy the
+ // following assert.
+ continue;
+ }
ASSERT(raw_object->IsRemembered());
raw_object->ClearRememberedBit();
visitor->VisitingOldObject(raw_object);
« runtime/vm/object.cc ('K') | « runtime/vm/runtime_entry.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698