Inclusive language fixes in ART's garbage collector.
Update language to comply with Android’s inclusive language guidance.
See https://source.android.com/setup/contribute/respectful-code for
reference.
#inclusivefixit
Test: Build ART and run ART tests
Bug: 161336379
Bug: 161896447
Change-Id: Ib4aef98db2a9fd1031a076af0eab3fcb4cf6afef
diff --git a/runtime/gc/heap.cc b/runtime/gc/heap.cc
index d1a5014..624e65a 100644
--- a/runtime/gc/heap.cc
+++ b/runtime/gc/heap.cc
@@ -2248,8 +2248,9 @@
if (it == bins_.end()) {
// No available space in the bins, place it in the target space instead (grows the zygote
// space).
- size_t bytes_allocated, dummy;
- forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullptr, &dummy);
+ size_t bytes_allocated, unused_bytes_tl_bulk_allocated;
+ forward_address = to_space_->Alloc(
+ self_, alloc_size, &bytes_allocated, nullptr, &unused_bytes_tl_bulk_allocated);
if (to_space_live_bitmap_ != nullptr) {
to_space_live_bitmap_->Set(forward_address);
} else {