| Index: src/global-handles.cc
|
| diff --git a/src/global-handles.cc b/src/global-handles.cc
|
| index 553aff56d7a01360e37fd9f5408cd310d9f1ae1f..9ff16affe4f948114ee18d1558dfe259da6dc079 100644
|
| --- a/src/global-handles.cc
|
| +++ b/src/global-handles.cc
|
| @@ -1062,7 +1062,7 @@ int GlobalHandles::PostGarbageCollectionProcessing(
|
| // PostScavengeProcessing.
|
| return freed_nodes;
|
| }
|
| - if (collector == SCAVENGER) {
|
| + if (Heap::IsYoungGenerationCollector(collector)) {
|
| freed_nodes += PostScavengeProcessing(initial_post_gc_processing_count);
|
| } else {
|
| freed_nodes += PostMarkSweepProcessing(initial_post_gc_processing_count);
|
|
|