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

Unified Diff: runtime/vm/isolate.h

Issue 2252533002: Fix race in GC sweeper and isolate reload rollback. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 | « runtime/vm/atomic.h ('k') | runtime/vm/isolate_reload.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index f81e39a72c27e346e885b3b1222602aff7c6613b..12dd5fa2f6fdcc37fd861a2de0c6adc4eb08164f 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -555,7 +555,7 @@ class Isolate : public BaseIsolate {
// True during top level parsing.
bool IsTopLevelParsing() {
const intptr_t value =
- AtomicOperations::LoadRelaxedIntPtr(&top_level_parsing_count_);
+ AtomicOperations::LoadRelaxed(&top_level_parsing_count_);
ASSERT(value >= 0);
return value > 0;
}
@@ -576,7 +576,7 @@ class Isolate : public BaseIsolate {
}
}
intptr_t loading_invalidation_gen() {
- return AtomicOperations::LoadRelaxedIntPtr(&loading_invalidation_gen_);
+ return AtomicOperations::LoadRelaxed(&loading_invalidation_gen_);
}
// Used by background compiler which field became boxed and must trigger
« no previous file with comments | « runtime/vm/atomic.h ('k') | runtime/vm/isolate_reload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698