Inclusive language fixes in ART's heap dump (`hprof`) feature.
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: Ifaaa5b6d264614222a88f3c215b358bec6be0bda
diff --git a/runtime/hprof/hprof.cc b/runtime/hprof/hprof.cc
index 27560c8..5e4a5f3 100644
--- a/runtime/hprof/hprof.cc
+++ b/runtime/hprof/hprof.cc
@@ -682,7 +682,7 @@
}
void WriteStackTraces() REQUIRES_SHARED(Locks::mutator_lock_) {
- // Write a dummy stack trace record so the analysis tools don't freak out.
+ // Write a fake stack trace record so the analysis tools don't freak out.
output_->StartNewRecord(HPROF_TAG_STACK_TRACE, kHprofTime);
__ AddStackTraceSerialNumber(kHprofNullStackTrace);
__ AddU4(kHprofNullThread);