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()
DFieldValue.java22 public class FieldValue { class
45 public FieldValue(String name, Type type, Value value) { in FieldValue() method in FieldValue
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()
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.h186 struct FieldValue : public ValueObject { struct
192 FieldValue() : value(0), kind(FieldValueKind::kBoolean), is_volatile(false) {} in FieldValue() argument
193 FieldValue(FieldValue&& log) = default;
196 DISALLOW_COPY_AND_ASSIGN(FieldValue);
202 const FieldValue& field_value) const REQUIRES_SHARED(Locks::mutator_lock_);
205 std::map<uint32_t, FieldValue> field_values_;
Dtransaction.cc458 ObjectLog::FieldValue field_value; in LogValue()
480 const FieldValue& field_value = it.second; in Undo()
487 const FieldValue& field_value) const { in UndoFieldWrite()
573 FieldValue& field_value = it.second; in VisitRoots()
/art/tools/ahat/etc/
Dahat_api.txt47 method public java.lang.Iterable<com.android.ahat.heapdump.FieldValue> getInstanceFields();
55 method public java.util.List<com.android.ahat.heapdump.FieldValue> getStaticFieldValues();
130 …a.lang.Iterable<com.android.ahat.heapdump.FieldValue>, java.lang.Iterable<com.android.ahat.heapdum…
139 …blic static com.android.ahat.heapdump.DiffedFieldValue added(com.android.ahat.heapdump.FieldValue);
140 …ic static com.android.ahat.heapdump.DiffedFieldValue deleted(com.android.ahat.heapdump.FieldValue);
141 ….DiffedFieldValue matched(com.android.ahat.heapdump.FieldValue, com.android.ahat.heapdump.FieldVal…
163 public class FieldValue {
164 …ctor public FieldValue(java.lang.String, com.android.ahat.heapdump.Type, com.android.ahat.heapdump…
268 …field public static final java.util.Comparator<com.android.ahat.heapdump.FieldValue> FIELD_VALUE_B…
269 …field public static final java.util.Comparator<com.android.ahat.heapdump.FieldValue> FIELD_VALUE_B…
/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()