| Index: runtime/vm/heap.cc
|
| diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
|
| index d8ce15740a980e1d6327333eb41a7baa3d1013b4..04dec1b028e0aefb64164ecf87bfb4690e3ebc6f 100644
|
| --- a/runtime/vm/heap.cc
|
| +++ b/runtime/vm/heap.cc
|
| @@ -402,6 +402,8 @@ void Heap::CollectOldSpaceGarbage(Thread* thread,
|
| RecordAfterGC(kOld);
|
| PrintStats();
|
| NOT_IN_PRODUCT(PrintStatsToTimeline(&tds));
|
| + // Some Code objects may have been collected so invalidate handler cache.
|
| + thread->isolate()->handler_info_cache()->Clear();
|
| EndOldSpaceGC();
|
| }
|
| }
|
|
|