Home
last modified time | relevance | path

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

/art/tools/ahat/src/heapdump/
DFieldValue.java19 public class FieldValue implements Diffable<FieldValue> { class
23 private FieldValue mBaseline;
26 public FieldValue(String name, String type, Value value) { in FieldValue() method in FieldValue
37 private FieldValue(FieldValue baseline) { in FieldValue() method in FieldValue
45 static FieldValue newPlaceHolderFieldValue(FieldValue baseline) { in newPlaceHolderFieldValue()
46 FieldValue field = new FieldValue(baseline); in newPlaceHolderFieldValue()
72 public void setBaseline(FieldValue baseline) { in setBaseline()
76 @Override public FieldValue getBaseline() { in getBaseline()
DAhatClassInstance.java26 private FieldValue[] mFieldValues;
36 List<ClassInstance.FieldValue> fieldValues = classInst.getValues(); in initialize()
37 mFieldValues = new FieldValue[fieldValues.size()]; in initialize()
39 ClassInstance.FieldValue field = fieldValues.get(i); in initialize()
44 mFieldValues[i] = new FieldValue(name, type, value); in initialize()
56 for (FieldValue field : mFieldValues) { in getField()
100 public List<FieldValue> getInstanceFields() { in getInstanceFields()
DAhatClassObj.java31 private FieldValue[] mStaticFieldValues;
54 mStaticFieldValues = new FieldValue[fieldValues.size()]; in initialize()
60 mStaticFieldValues[index++] = new FieldValue(name, type, value); in initialize()
95 public List<FieldValue> getStaticFieldValues() { in getStaticFieldValues()
DDiff.java345 public static void fields(List<FieldValue> a, List<FieldValue> b) { in fields()
353 FieldValue afield = a.get(i); in fields()
358 FieldValue bfield = b.get(j); in fields()
364 a.add(i, FieldValue.newPlaceHolderFieldValue(b.get(i))); in fields()
374 b.add(i, FieldValue.newPlaceHolderFieldValue(afield)); in fields()
380 a.add(i, FieldValue.newPlaceHolderFieldValue(b.get(i))); in fields()
/art/tools/ahat/test/
DDiffTest.java23 import com.android.ahat.heapdump.FieldValue;
135 List<FieldValue> a = new ArrayList<FieldValue>(); in diffFields()
136 a.add(new FieldValue("n0", "t0", null)); in diffFields()
137 a.add(new FieldValue("n2", "t2", null)); in diffFields()
138 a.add(new FieldValue("n3", "t3", null)); in diffFields()
139 a.add(new FieldValue("n4", "t4", null)); in diffFields()
140 a.add(new FieldValue("n5", "t5", null)); in diffFields()
141 a.add(new FieldValue("n6", "t6", null)); in diffFields()
143 List<FieldValue> b = new ArrayList<FieldValue>(); in diffFields()
144 b.add(new FieldValue("n0", "t0", null)); in diffFields()
[all …]
DTestDump.java23 import com.android.ahat.heapdump.FieldValue;
121 for (FieldValue fields : main.getStaticFieldValues()) { in getDumpedValue()
/art/runtime/
Dtransaction.h159 struct FieldValue : public ValueObject { struct
165 FieldValue() : value(0), kind(FieldValueKind::kBoolean), is_volatile(false) {} in FieldValue() argument
166 FieldValue(FieldValue&& log) = default;
169 DISALLOW_COPY_AND_ASSIGN(FieldValue);
175 const FieldValue& field_value) const REQUIRES_SHARED(Locks::mutator_lock_);
178 std::map<uint32_t, FieldValue> field_values_;
Dtransaction.cc380 ObjectLog::FieldValue field_value; in LogValue()
402 const FieldValue& field_value = it.second; in Undo()
409 const FieldValue& field_value) const { in UndoFieldWrite()
495 FieldValue& field_value = it.second; in VisitRoots()
/art/tools/ahat/src/
DObjectHandler.java26 import com.android.ahat.heapdump.FieldValue;
116 List<FieldValue> fields = inst.getInstanceFields(); in printClassInstanceFields()
120 SubsetSelector<FieldValue> selector = new SubsetSelector(query, INSTANCE_FIELDS_ID, fields); in printClassInstanceFields()
153 private static void printFields(Doc doc, boolean diff, List<FieldValue> fields) { in printFields()
160 for (FieldValue field : fields) { in printFields()
170 FieldValue basefield = field.getBaseline(); in printFields()
196 List<FieldValue> fields = clsobj.getStaticFieldValues(); in printClassInfo()
200 SubsetSelector<FieldValue> selector = new SubsetSelector(query, STATIC_FIELDS_ID, fields); in printClassInfo()