OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AhatInstance
(Results
1 - 22
of
22
) sorted by null
/art/tools/ahat/src/
DominatedList.java
20
import com.android.ahat.heapdump.
AhatInstance
;
44
Doc doc, Query query, String id, Collection<
AhatInstance
> instances) {
45
List<
AhatInstance
> insts = new ArrayList<
AhatInstance
>(instances);
50
private static class TableConfig implements HeapTable.TableConfig<
AhatInstance
> {
57
public long getSize(
AhatInstance
element, AhatHeap heap) {
62
public List<HeapTable.ValueConfig<
AhatInstance
>> getValueConfigs() {
63
HeapTable.ValueConfig<
AhatInstance
> value = new HeapTable.ValueConfig<
AhatInstance
>() {
68
public DocString render(
AhatInstance
element)
[
all
...]
ObjectsHandler.java
19
import com.android.ahat.heapdump.
AhatInstance
;
45
List<
AhatInstance
> insts = new ArrayList<
AhatInstance
>();
46
for (
AhatInstance
inst : site.getObjects()) {
63
SubsetSelector<
AhatInstance
> selector = new SubsetSelector(query, OBJECTS_ID, insts);
64
for (
AhatInstance
inst : selector.selected()) {
65
AhatInstance
base = inst.getBaseline();
ObjectHandler.java
23
import com.android.ahat.heapdump.
AhatInstance
;
57
AhatInstance
inst = mSnapshot.findInstance(id);
62
AhatInstance
base = inst.getBaseline();
115
AhatInstance
base = inst.getBaseline();
127
AhatInstance
base = array.getBaseline();
195
AhatInstance
base = clsobj.getBaseline();
205
private static void printReferences(Doc doc, Query query,
AhatInstance
inst) {
211
List<
AhatInstance
> references = inst.getHardReverseReferences();
212
SubsetSelector<
AhatInstance
> selector = new SubsetSelector(query, HARD_REFS_ID, references);
213
for (
AhatInstance
ref : selector.selected())
[
all
...]
Summarizer.java
19
import com.android.ahat.heapdump.
AhatInstance
;
36
public static DocString summarize(
AhatInstance
inst) {
87
AhatInstance
referent = inst.getReferent();
107
AhatInstance
bitmap = inst.getAssociatedBitmapInstance();
BitmapHandler.java
19
import com.android.ahat.heapdump.
AhatInstance
;
42
AhatInstance
inst = mSnapshot.findInstance(id);
/art/tools/ahat/src/heapdump/
PathElement.java
20
public final
AhatInstance
instance;
24
public PathElement(
AhatInstance
instance, String field) {
AhatInstance.java
29
public abstract class
AhatInstance
implements Diffable<
AhatInstance
> {
36
private
AhatInstance
mImmediateDominator;
37
private
AhatInstance
mNextInstanceToGcRoot;
40
private
AhatInstance
[] mHardReverseReferences;
41
private
AhatInstance
[] mSoftReverseReferences;
49
private List<
AhatInstance
> mDominated = new ArrayList<
AhatInstance
>();
51
private
AhatInstance
mBaseline;
53
public
AhatInstance
(long id)
[
all
...]
AhatPlaceHolderInstance.java
20
* Generic PlaceHolder instance to take the place of a real
AhatInstance
for
23
* This should be created through a call to
AhatInstance
.newPlaceHolder();
25
public class AhatPlaceHolderInstance extends
AhatInstance
{
26
AhatPlaceHolderInstance(
AhatInstance
baseline) {
Sort.java
40
public static final Comparator<
AhatInstance
> INSTANCE_BY_TOTAL_RETAINED_SIZE
41
= new Comparator<
AhatInstance
>() {
43
public int compare(
AhatInstance
a,
AhatInstance
b) {
54
public static class InstanceByHeapRetainedSize implements Comparator<
AhatInstance
> {
62
public int compare(
AhatInstance
a,
AhatInstance
b) {
93
public static Comparator<
AhatInstance
> defaultInstanceCompare(AhatSnapshot snapshot) {
94
List<Comparator<
AhatInstance
>> comparators = new ArrayList<Comparator<
AhatInstance
>>();
[
all
...]
Diff.java
99
private Key(
AhatInstance
inst) {
112
public static Key keyFor(
AhatInstance
inst) {
136
public final List<
AhatInstance
> a;
137
public final List<
AhatInstance
> b;
140
this.a = new ArrayList<
AhatInstance
>();
141
this.b = new ArrayList<
AhatInstance
>();
144
public InstanceListPair(List<
AhatInstance
> a, List<
AhatInstance
> b) {
156
private static
AhatInstance
createPlaceHolders(
AhatInstance
inst
[
all
...]
AhatSnapshot.java
45
private final List<
AhatInstance
> mRooted = new ArrayList<
AhatInstance
>();
48
private final List<
AhatInstance
> mInstances = new ArrayList<
AhatInstance
>();
130
mInstances.sort(new Comparator<
AhatInstance
>() {
132
public int compare(
AhatInstance
a,
AhatInstance
b) {
139
for (
AhatInstance
ahat : mInstances) {
175
public
AhatInstance
findInstance(long id) {
181
AhatInstance
midInst = mInstances.get(mid)
[
all
...]
Value.java
21
* subclass of
AhatInstance
or a primitive Java type.
29
*
AhatInstance
. The object must not be null.
39
* Returns true if the Value is an
AhatInstance
, as opposed to a Java
43
return mObject instanceof
AhatInstance
;
47
* Return the Value as an
AhatInstance
if it is one.
50
public
AhatInstance
asAhatInstance() {
52
return (
AhatInstance
)mObject;
AhatClassObj.java
27
public class AhatClassObj extends
AhatInstance
{
30
private
AhatInstance
mClassLoader;
88
public
AhatInstance
getClassLoader() {
111
@Override
AhatInstance
newPlaceHolderInstance() {
AhatArrayInstance.java
25
public class AhatArrayInstance extends
AhatInstance
{
27
// byte, character, and
AhatInstance
arrays respectively. This is especially
47
final
AhatInstance
[] insts = new
AhatInstance
[objects.length];
64
AhatInstance
obj = insts[index];
207
@Override public
AhatInstance
getAssociatedBitmapInstance() {
209
List<
AhatInstance
> refs = getHardReverseReferences();
211
AhatInstance
ref = refs.get(0);
AhatPlaceHolderClassObj.java
68
@Override public
AhatInstance
getClassLoader() {
AhatClassInstance.java
25
public class AhatClassInstance extends
AhatInstance
{
64
@Override public
AhatInstance
getRefField(String fieldName) {
128
AhatInstance
inst = value.asAhatInstance();
139
@Override public
AhatInstance
getReferent() {
148
AhatInstance
location = getRefField("location");
156
@Override public
AhatInstance
getAssociatedBitmapInstance() {
Site.java
53
private List<
AhatInstance
> mObjects;
112
mObjects = new ArrayList<
AhatInstance
>();
124
Site add(StackFrame[] frames, int depth,
AhatInstance
inst) {
128
private static Site add(Site site, StackFrame[] frames, int depth,
AhatInstance
inst) {
184
public Collection<
AhatInstance
> getObjects() {
279
void addPlaceHolderInstance(
AhatInstance
placeholder) {
/art/tools/ahat/test/
ObjectHandlerTest.java
19
import com.android.ahat.heapdump.
AhatInstance
;
31
AhatInstance
object = dump.getDumpedAhatInstance("aPhantomReference");
45
AhatInstance
object = snapshot.findClass("Main");
58
AhatInstance
object = snapshot.findClass("java.lang.String");
68
AhatInstance
object = dump.getDumpedAhatInstance("gcPathArray");
InstanceTest.java
21
import com.android.ahat.heapdump.
AhatInstance
;
55
AhatInstance
str = dump.getDumpedAhatInstance("basicString");
62
AhatInstance
str = dump.getDumpedAhatInstance("nonAscii");
69
AhatInstance
str = dump.getDumpedAhatInstance("embeddedZero");
76
AhatInstance
str = dump.getDumpedAhatInstance("charArray");
83
AhatInstance
str = dump.getDumpedAhatInstance("basicString");
90
AhatInstance
str = dump.getDumpedAhatInstance("nonAscii");
97
AhatInstance
str = dump.getDumpedAhatInstance("embeddedZero");
104
AhatInstance
str = dump.getDumpedAhatInstance("charArray");
111
AhatInstance
str = dump.getDumpedAhatInstance("basicString")
[
all
...]
TestDump.java
20
import com.android.ahat.heapdump.
AhatInstance
;
120
AhatInstance
stuff = null;
133
public
AhatInstance
getDumpedAhatInstance(String name) {
142
public
AhatInstance
getBaselineDumpedAhatInstance(String name) {
PerformanceTest.java
19
import com.android.ahat.heapdump.
AhatInstance
;
41
AhatInstance
bigArray = dump.getDumpedAhatInstance("bigArray");
DiffTest.java
20
import com.android.ahat.heapdump.
AhatInstance
;
65
AhatInstance
a = dump.getDumpedAhatInstance("unchangedObject");
68
AhatInstance
b = dump.getBaselineDumpedAhatInstance("unchangedObject");
80
AhatInstance
a = dump.getDumpedAhatInstance("addedObject");
91
AhatInstance
b = dump.getBaselineDumpedAhatInstance("removedObject");
Completed in 112 milliseconds