Inclusive language fixes in AHAT.
Update language to comply with Android’s inclusive language guidance.
See https://source.android.com/setup/contribute/respectful-code for
reference.
#inclusivefixit
Test: mmma art/tools/ahat
Bug: 161336379
Bug: 161896447
Change-Id: Ic1a8d6142112455824c3d3ee092bcc018c507f93
diff --git a/tools/ahat/src/main/com/android/ahat/ObjectHandler.java b/tools/ahat/src/main/com/android/ahat/ObjectHandler.java
index c099da8..4d85cc0 100644
--- a/tools/ahat/src/main/com/android/ahat/ObjectHandler.java
+++ b/tools/ahat/src/main/com/android/ahat/ObjectHandler.java
@@ -256,7 +256,7 @@
doc.section("Sample Path from GC Root");
List<PathElement> path = inst.getPathFromGcRoot();
- // Add a dummy PathElement as a marker for the root.
+ // Add a fake PathElement as a marker for the root.
final PathElement root = new PathElement(null, null);
path.add(0, root);
@@ -308,4 +308,3 @@
}
}
}
-
diff --git a/tools/ahat/src/main/com/android/ahat/heapdump/Diffable.java b/tools/ahat/src/main/com/android/ahat/heapdump/Diffable.java
index 09c8ee6..18f63ce 100644
--- a/tools/ahat/src/main/com/android/ahat/heapdump/Diffable.java
+++ b/tools/ahat/src/main/com/android/ahat/heapdump/Diffable.java
@@ -37,11 +37,10 @@
* Returns true if this is a placeholder object.
* A placeholder object is used to indicate there is some object in the
* baseline heap dump that is not in this heap dump. In that case, we create
- * a dummy place holder object in this heap dump as an indicator of the
+ * a place holder object in this heap dump as an indicator of the
* object removed from the baseline heap dump.
*
* @return true if the object is a placeholder
*/
boolean isPlaceHolder();
}
-
diff --git a/tools/ahat/src/main/com/android/ahat/heapdump/Parser.java b/tools/ahat/src/main/com/android/ahat/heapdump/Parser.java
index c7f7b4b..7fe444e 100644
--- a/tools/ahat/src/main/com/android/ahat/heapdump/Parser.java
+++ b/tools/ahat/src/main/com/android/ahat/heapdump/Parser.java
@@ -710,11 +710,11 @@
}
/**
- * Dummy value representing a reference to an instance that has not yet been
+ * Placeholder value representing a reference to an instance that has not yet been
* resolved.
* When first initializing class static fields, we don't yet know what kinds
* of objects Object references refer to. We use DeferredInstanceValue as
- * a dummy kind of value to store the id of an object. In the fixup pass we
+ * a placeholder kind of value to store the id of an object. In the fixup pass we
* resolve all the DeferredInstanceValues into their proper InstanceValues.
*/
private static class DeferredInstanceValue extends Value {