| Index: runtime/vm/heap.cc
|
| ===================================================================
|
| --- runtime/vm/heap.cc (revision 39414)
|
| +++ runtime/vm/heap.cc (working copy)
|
| @@ -222,6 +222,7 @@
|
| RecordBeforeGC(kNew, reason);
|
| UpdateClassHeapStatsBeforeGC(kNew);
|
| new_space_->Scavenge(invoke_api_callbacks);
|
| + isolate()->class_table()->UpdatePromoted();
|
| RecordAfterGC();
|
| PrintStats();
|
| if (old_space_->NeedsGarbageCollection()) {
|
| @@ -273,6 +274,7 @@
|
| RecordBeforeGC(kNew, kFull);
|
| UpdateClassHeapStatsBeforeGC(kNew);
|
| new_space_->Scavenge(kInvokeApiCallbacks);
|
| + isolate()->class_table()->UpdatePromoted();
|
| RecordAfterGC();
|
| PrintStats();
|
| }
|
|
|