Index: runtime/vm/gc_sweeper.cc |
diff --git a/runtime/vm/gc_sweeper.cc b/runtime/vm/gc_sweeper.cc |
index 962255e1274b9bcc930c40d59392b02e32f84991..5b7949b50d41b32808ffdf2daaddf1e4a4856aac 100644 |
--- a/runtime/vm/gc_sweeper.cc |
+++ b/runtime/vm/gc_sweeper.cc |
@@ -115,7 +115,8 @@ class SweeperTask : public ThreadPool::Task { |
} |
virtual void Run() { |
- bool result = Thread::EnterIsolateAsHelper(task_isolate_); |
+ bool result = Thread::EnterIsolateAsHelper(task_isolate_, |
+ Thread::kSweeperTask); |
ASSERT(result); |
{ |
Thread* thread = Thread::Current(); |