Chromium Code Reviews| Index: runtime/vm/gc_marker.cc |
| diff --git a/runtime/vm/gc_marker.cc b/runtime/vm/gc_marker.cc |
| index 069f34175990a492b4c75280f2062e1e58ad0153..1d4b46a4d20bb675775e8da35f7b1990b044a30a 100644 |
| --- a/runtime/vm/gc_marker.cc |
| +++ b/runtime/vm/gc_marker.cc |
| @@ -430,7 +430,7 @@ class MarkingWeakVisitor : public HandleVisitor { |
| reinterpret_cast<FinalizablePersistentHandle*>(addr); |
| RawObject* raw_obj = handle->raw(); |
| if (IsUnreachable(raw_obj)) { |
| - handle->UpdateUnreachable(thread()->isolate()); |
| + handle->UpdateUnreachableFinalizeNow(thread()->isolate()); |
|
siva
2016/06/02 20:18:05
Why is this finalization done eagerly inline and n
rmacnak
2016/06/03 01:08:30
Added background finalization here too.
|
| } |
| } |