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

Unified Diff: runtime/vm/scavenger.cc

Issue 804673003: Update tag bits atomically (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years 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/raw_object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scavenger.cc
===================================================================
--- runtime/vm/scavenger.cc (revision 42376)
+++ runtime/vm/scavenger.cc (working copy)
@@ -113,7 +113,7 @@
ASSERT(raw_key->IsWatched());
} else {
ASSERT(!raw_key->IsWatched());
- raw_key->SetWatchedBit();
+ raw_key->SetWatchedBitUnsynchronized();
}
delay_set_.insert(std::make_pair(raw_key, raw_weak));
}
@@ -178,7 +178,7 @@
new_addr = ForwardedAddr(header);
} else {
if (raw_obj->IsWatched()) {
- raw_obj->ClearWatchedBit();
+ raw_obj->ClearWatchedBitUnsynchronized();
std::pair<DelaySet::iterator, DelaySet::iterator> ret;
// Visit all elements with a key equal to this raw_obj.
ret = delay_set_.equal_range(raw_obj);
« no previous file with comments | « runtime/vm/raw_object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698