diff options
author | 2016-08-30 00:14:53 +0000 | |
---|---|---|
committer | 2016-08-30 00:14:53 +0000 | |
commit | 9495e0c56b25349220aed7adb997d81f9b0c86cc (patch) | |
tree | 9612589aaba553880c6e083710a3b5630b0a7b3b | |
parent | 3079bc2b73666320a5d2d3454f5c418ef0d37519 (diff) | |
parent | 84d9425b34e7e4d03b4883ac8858b2cdf4951789 (diff) |
Merge "Re-enable evacuation of recently allocated regions"
-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 2d71294daa..e24741a4a6 100644 --- a/runtime/gc/space/region_space.cc +++ b/runtime/gc/space/region_space.cc @@ -338,8 +338,7 @@ bool RegionSpace::AllocNewTlab(Thread* self) { if (r->IsFree()) { r->Unfree(time_); ++num_non_free_regions_; - // TODO: this is buggy. Debug it. - // r->SetNewlyAllocated(); + r->SetNewlyAllocated(); r->SetTop(r->End()); r->is_a_tlab_ = true; r->thread_ = self; |