diff options
Diffstat (limited to 'runtime/gc/space')
-rw-r--r-- | runtime/gc/space/region_space.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/space/region_space.cc b/runtime/gc/space/region_space.cc index 823043ec75..4329a379fc 100644 --- a/runtime/gc/space/region_space.cc +++ b/runtime/gc/space/region_space.cc @@ -33,7 +33,7 @@ namespace space { static constexpr uint kEvacuateLivePercentThreshold = 75U; // Whether we protect the unused and cleared regions. -static constexpr bool kProtectClearedRegions = true; +static constexpr bool kProtectClearedRegions = kIsDebugBuild; // Wether we poison memory areas occupied by dead objects in unevacuated regions. static constexpr bool kPoisonDeadObjectsInUnevacuatedRegions = true; |