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

Unified Diff: runtime/vm/scavenger.cc

Issue 1297973002: - Speculative change for Dartium bots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scavenger.cc
diff --git a/runtime/vm/scavenger.cc b/runtime/vm/scavenger.cc
index 15f4c535f2004a5da2f5d51d496322ca7dc1e8a1..caf0d51d9d5bb68db3abdfccb14f2529b65e450c 100644
--- a/runtime/vm/scavenger.cc
+++ b/runtime/vm/scavenger.cc
@@ -159,6 +159,9 @@ class ScavengerVisitor : public ObjectPointerVisitor {
uword raw_addr = RawObject::ToAddr(raw_obj);
// The scavenger is only interested in objects located in the from space.
+ if (scavenger_->to_->Contains(raw_addr)) {
+ return;
+ }
ASSERT(from_->Contains(raw_addr));
// Read the header word of the object and determine if the object has
// already been copied.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698