| Index: src/mark-compact.cc
|
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc
|
| index f49179f67e101ad5966d8e7d614d5dc19706a41d..f73c5ed329b767058a4ee27b06a731d75b873feb 100644
|
| --- a/src/mark-compact.cc
|
| +++ b/src/mark-compact.cc
|
| @@ -3890,7 +3890,7 @@ void MarkCompactCollector::SweepSpaces() {
|
| FLAG_lazy_sweeping ? LAZY_CONSERVATIVE : CONSERVATIVE;
|
| if (FLAG_parallel_sweeping) how_to_sweep = PARALLEL_CONSERVATIVE;
|
| if (FLAG_concurrent_sweeping) how_to_sweep = CONCURRENT_CONSERVATIVE;
|
| - if (FLAG_expose_gc) how_to_sweep = CONSERVATIVE;
|
| + if (FLAG_expose_gc || FLAG_expose_gc_as) how_to_sweep = CONSERVATIVE;
|
| if (sweep_precisely_) how_to_sweep = PRECISE;
|
|
|
| // Unlink evacuation candidates before sweeper threads access the list of
|
|
|