Index: runtime/vm/gc_marker.cc |
diff --git a/runtime/vm/gc_marker.cc b/runtime/vm/gc_marker.cc |
index bb1ae3a27aa61da82afdb06f83f3ab3aa4ec5b4e..79b5a86ea8dbe689eb45201238debedd458797fa 100644 |
--- a/runtime/vm/gc_marker.cc |
+++ b/runtime/vm/gc_marker.cc |
@@ -531,7 +531,7 @@ void GCMarker::MarkObjects(Isolate* isolate, |
// The API prologue/epilogue may create/destroy zones, so we must not |
// depend on zone allocations surviving beyond the epilogue callback. |
{ |
- StackZone zone(isolate); |
+ StackZone zone(Thread::Current()); |
MarkingStack marking_stack; |
DelaySet delay_set; |
MarkingVisitor mark(isolate, heap_, page_space, &marking_stack, |