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

Unified Diff: runtime/vm/isolate.h

Issue 2395123003: Make adding a pending deopt atomic. (Closed)
Patch Set: Created 4 years, 2 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/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index a90193af05e31f99a3d70aa5d20becd7420382de..bb2efbfb1643d5e73174e12cccf019b326e2b56e 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -404,7 +404,10 @@ class Isolate : public BaseIsolate {
return object_id_ring_;
}
- MallocGrowableArray<PendingLazyDeopt>* pending_deopts() {
+ void AddPendingDeopt(uword fp, uword pc);
+ uword FindPendingDeopt(uword fp) const;
+ void ClearPendingDeoptsAtOrBelow(uword fp) const;
siva 2016/10/10 04:10:26 This function is marked as const but it seems to m
+ MallocGrowableArray<PendingLazyDeopt>* pending_deopts() const {
return pending_deopts_;
}
bool IsDeoptimizing() const { return deopt_context_ != NULL; }
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/isolate.cc » ('j') | runtime/vm/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698