Lines Matching refs:currentRegion
89 auto currentRegion = GetCurrentRegion();
90 if (currentRegion != nullptr) {
92 if (currentRegion->HasAgeMark()) {
94 currentRegion->GetAllocatedBytes(top) - currentRegion->GetAllocatedBytes(waterLine_);
96 allocateAfterLastGC_ += currentRegion->GetAllocatedBytes(top);
100 survivalObjectSize_ += currentRegion->GetAllocatedBytes(top);
102 currentRegion->SetHighWaterMark(top);
121 auto currentRegion = GetCurrentRegion();
122 if (currentRegion != nullptr) {
123 allocator_.Reset(currentRegion->GetBegin(), currentRegion->GetEnd(), currentRegion->GetHighWaterMark());
281 auto currentRegion = GetCurrentRegion();
282 if (currentRegion != nullptr) {
283 if (currentRegion->HasAgeMark()) {
285 currentRegion->GetAllocatedBytes(top) - currentRegion->GetAllocatedBytes(waterLine_);
287 allocateAfterLastGC_ += currentRegion->GetAllocatedBytes(top);
289 currentRegion->SetHighWaterMark(top);
333 auto currentRegion = GetCurrentRegion();
334 if (currentRegion != nullptr) {
335 currentRegionSize = currentRegion->GetAllocatedBytes(top);
336 if (currentRegion->HasAgeMark()) {
337 currentRegionSize -= currentRegion->GetAllocatedBytes(waterLine_);
485 auto currentRegion = GetCurrentRegion();
486 if (currentRegion != nullptr) {
487 currentRegionSize = currentRegion->GetAllocatedBytes(top);
488 if (currentRegion->HasAgeMark()) {
489 currentRegionSize -= currentRegion->GetAllocatedBytes(waterLine_);