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

Unified Diff: runtime/vm/thread.h

Issue 1309033007: Old-gen marking on separate thread (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Revert static method change. 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 | « runtime/vm/gc_marker.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.h
diff --git a/runtime/vm/thread.h b/runtime/vm/thread.h
index 8f6497ae5415ea040b03276c03382a13d6a130c7..904d751bc42c733944e4978ee9ce079fd6d8f7aa 100644
--- a/runtime/vm/thread.h
+++ b/runtime/vm/thread.h
@@ -83,8 +83,9 @@ class Thread {
// "helper" to gain limited concurrent access to the isolate. One example is
// SweeperTask (which uses the class table, which is copy-on-write).
// TODO(koda): Properly synchronize heap access to expand allowed operations.
- static void EnterIsolateAsHelper(Isolate* isolate);
- static void ExitIsolateAsHelper();
+ static void EnterIsolateAsHelper(Isolate* isolate,
+ bool bypass_safepoint = false);
+ static void ExitIsolateAsHelper(bool bypass_safepoint = false);
// Called when the current thread transitions from mutator to collector.
// Empties the store buffer block into the isolate.
@@ -287,8 +288,8 @@ CACHED_CONSTANTS_LIST(DECLARE_MEMBERS)
static void SetCurrent(Thread* current);
- void Schedule(Isolate* isolate);
- void Unschedule();
+ void Schedule(Isolate* isolate, bool bypass_safepoint = false);
+ void Unschedule(bool bypass_safepoint = false);
friend class ApiZone;
friend class Isolate;
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698