Home
last modified time | relevance | path

Searched refs:FieldValue (Results 1 – 14 of 14) sorted by relevance

/art/tools/ahat/src/test/com/android/ahat/
DDiffFieldsTest.java21 import com.android.ahat.heapdump.FieldValue;
45 FieldValue normal1 = new FieldValue("name", t0, Value.pack(1)); in normalMatchedDiffedFieldValues()
46 FieldValue normal2 = new FieldValue("name", t0, Value.pack(2)); in normalMatchedDiffedFieldValues()
58 FieldValue normal = new FieldValue("name", t0, Value.pack(1)); in nulledMatchedDiffedFieldValues()
59 FieldValue nulled = new FieldValue("name", t0, null); in nulledMatchedDiffedFieldValues()
78 FieldValue normal = new FieldValue("name", t0, Value.pack(1)); in normalAddedDiffedFieldValues()
89 FieldValue nulled = new FieldValue("name", t0, null); in nulledAddedDiffedFieldValues()
100 FieldValue normal = new FieldValue("name", t0, Value.pack(1)); in normalDeletedDiffedFieldValues()
111 FieldValue nulled = new FieldValue("name", t0, null); in nulledDeletedDiffedFieldValues()
122 List<FieldValue> a = new ArrayList<FieldValue>(); in basicDiff()
[all …]
DTestDump.java23 import com.android.ahat.heapdump.FieldValue;
186 for (FieldValue field : main.getStaticFieldValues()) { in getDumpedValue()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DDiffFields.java36 public static List<DiffedFieldValue> diff(Iterable<FieldValue> current, in diff()
37 Iterable<FieldValue> baseline) { in diff()
38 List<FieldValue> currentSorted = new ArrayList<FieldValue>(); in diff()
39 for (FieldValue field : current) { in diff()
44 List<FieldValue> baselineSorted = new ArrayList<FieldValue>(); in diff()
45 for (FieldValue field : baseline) { in diff()
56 FieldValue currentField = currentSorted.get(currentPos); in diff()
57 FieldValue baselineField = baselineSorted.get(baselinePos); in diff()
73 FieldValue currentField = currentSorted.get(currentPos); in diff()
79 FieldValue baselineField = baselineSorted.get(baselinePos); in diff()
[all …]
DSort.java253 public static final Comparator<FieldValue> FIELD_VALUE_BY_NAME
254 = new Comparator<FieldValue>() {
256 public int compare(FieldValue a, FieldValue b) {
264 public static final Comparator<FieldValue> FIELD_VALUE_BY_TYPE
265 = new Comparator<FieldValue>() {
267 public int compare(FieldValue a, FieldValue b) {
DAhatClassObj.java34 private FieldValue[] mStaticFieldValues;
54 void initialize(AhatInstance classLoader, FieldValue[] staticFields) { in initialize()
107 public List<FieldValue> getStaticFieldValues() { in getStaticFieldValues()
131 FieldValue field = mStaticFieldValues[index]; in getReferences()
DDiffedFieldValue.java81 public static DiffedFieldValue matched(FieldValue current, FieldValue baseline) { in matched()
95 public static DiffedFieldValue added(FieldValue current) { in added()
105 public static DiffedFieldValue deleted(FieldValue baseline) { in deleted()
DFieldValue.java22 public class FieldValue { class
45 public FieldValue(String name, Type type, Value value) { in FieldValue() method in FieldValue
DAhatClassInstance.java53 for (FieldValue field : getInstanceFields()) { in getField()
101 public Iterable<FieldValue> getInstanceFields() { in getInstanceFields()
349 private static class InstanceFieldIterator implements Iterable<FieldValue>,
350 Iterator<FieldValue> {
386 public FieldValue next() { in next()
392 return new FieldValue(field.name, field.type, value); in next()
396 public Iterator<FieldValue> iterator() { in iterator()
426 private final Iterator<FieldValue> mIter = getInstanceFields().iterator();
437 FieldValue field = mIter.next(); in hasNext()
DParser.java363 data.staticFields = new FieldValue[numStaticFields]; in parseInternal()
373 data.staticFields[i] = new FieldValue(clrName, type, value); in parseInternal()
649 FieldValue field = data.staticFields[i]; in parseInternal()
652 data.staticFields[i] = new FieldValue( in parseInternal()
709 public FieldValue[] staticFields; // Contains DeferredInstanceValues.
DAhatArrayInstance.java347 for (FieldValue field : ref.getStaticFieldValues()) { in getAssociatedClassForOverhead()
/art/runtime/
Dtransaction.h185 struct FieldValue : public ValueObject { struct
191 FieldValue() : value(0), kind(FieldValueKind::kBoolean), is_volatile(false) {} in FieldValue() argument
192 FieldValue(FieldValue&& log) = default;
195 DISALLOW_COPY_AND_ASSIGN(FieldValue);
201 const FieldValue& field_value) const REQUIRES_SHARED(Locks::mutator_lock_);
204 std::map<uint32_t, FieldValue> field_values_;
Dtransaction.cc459 ObjectLog::FieldValue field_value; in LogValue()
481 const FieldValue& field_value = it.second; in Undo()
488 const FieldValue& field_value) const { in UndoFieldWrite()
574 FieldValue& field_value = it.second; in VisitRoots()
/art/tools/ahat/etc/
Dahat_api.txt49 method public Iterable<FieldValue> getInstanceFields();
58 method public List<FieldValue> getStaticFieldValues();
134 method public static List<DiffedFieldValue> diff(Iterable<FieldValue>, Iterable<FieldValue>);
143 …blic static com.android.ahat.heapdump.DiffedFieldValue added(com.android.ahat.heapdump.FieldValue);
144 …ic static com.android.ahat.heapdump.DiffedFieldValue deleted(com.android.ahat.heapdump.FieldValue);
147 ….DiffedFieldValue matched(com.android.ahat.heapdump.FieldValue, com.android.ahat.heapdump.FieldVal…
168 public class FieldValue {
169 ctor public FieldValue(String, com.android.ahat.heapdump.Type, com.android.ahat.heapdump.Value);
272 field public static final Comparator<FieldValue> FIELD_VALUE_BY_NAME;
273 field public static final Comparator<FieldValue> FIELD_VALUE_BY_TYPE;
/art/tools/ahat/src/main/com/android/ahat/
DObjectHandler.java27 import com.android.ahat.heapdump.FieldValue;
159 Iterable<FieldValue> current, Iterable<FieldValue> baseline) { in printFields()