diff options
author | 2018-08-20 09:28:44 +0000 | |
---|---|---|
committer | 2018-08-20 09:28:44 +0000 | |
commit | ea82529238b18f0b5cffa368efa3450cdcfd063c (patch) | |
tree | 888cbd1058aa5c2d369c034296781d44aea33ce9 | |
parent | c884be0345c3d64d20b9296b0ed675fc3b2e58bd (diff) | |
parent | 693f21c7fb412c30afbc292ef47e4cd884f54e56 (diff) |
Merge "Re-enable ART's region space memory protection on host."
-rw-r--r-- | runtime/gc/space/region_space.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/gc/space/region_space.cc b/runtime/gc/space/region_space.cc index 9c6a73cbf4..6d494fa279 100644 --- a/runtime/gc/space/region_space.cc +++ b/runtime/gc/space/region_space.cc @@ -31,8 +31,7 @@ namespace space { static constexpr uint kEvacuateLivePercentThreshold = 75U; // Whether we protect the unused and cleared regions. -// Only protect for target builds to prevent flaky test failures (b/63131961). -static constexpr bool kProtectClearedRegions = kIsTargetBuild; +static constexpr bool kProtectClearedRegions = true; // Wether we poison memory areas occupied by dead objects in unevacuated regions. static constexpr bool kPoisonDeadObjectsInUnevacuatedRegions = true; |