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

Unified Diff: runtime/vm/gc_marker.cc

Issue 1814243002: Add Thread TaskKind (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/gc_marker.cc
diff --git a/runtime/vm/gc_marker.cc b/runtime/vm/gc_marker.cc
index e21d0a26dc464cbd7fb7b70f77a66dc096a7facc..318c922751bf798a8e9f7ce72b2f2d6f0a78c680 100644
--- a/runtime/vm/gc_marker.cc
+++ b/runtime/vm/gc_marker.cc
@@ -600,7 +600,8 @@ class MarkTask : public ThreadPool::Task {
}
virtual void Run() {
- bool result = Thread::EnterIsolateAsHelper(isolate_, true);
+ bool result =
+ Thread::EnterIsolateAsHelper(isolate_, Thread::kMarkerTask, true);
ASSERT(result);
{
Thread* thread = Thread::Current();
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/gc_sweeper.cc » ('j') | runtime/vm/thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698