OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:objectsinfo
(Results
1 - 4
of
4
) sorted by null
/art/tools/ahat/test/
SortTest.java
29
public void
objectsInfo
() {
35
Site.
ObjectsInfo
infoA = new Site.
ObjectsInfo
(heapA, classA, 4, 14);
36
Site.
ObjectsInfo
infoB = new Site.
ObjectsInfo
(heapB, classB, 2, 15);
37
Site.
ObjectsInfo
infoC = new Site.
ObjectsInfo
(heapA, classC, 3, 13);
38
Site.
ObjectsInfo
infoD = new Site.
ObjectsInfo
(heapB, classA, 5, 12);
39
Site.
ObjectsInfo
infoE = new Site.ObjectsInfo(heapA, classB, 1, 11)
[
all
...]
/art/tools/ahat/src/
Sort.java
143
* Compare Site.
ObjectsInfo
by their size.
148
public static class ObjectsInfoBySize implements Comparator<Site.
ObjectsInfo
> {
150
public int compare(Site.
ObjectsInfo
a, Site.
ObjectsInfo
b) {
156
* Compare Site.
ObjectsInfo
by heap name.
160
public static class ObjectsInfoByHeapName implements Comparator<Site.
ObjectsInfo
> {
162
public int compare(Site.
ObjectsInfo
a, Site.
ObjectsInfo
b) {
168
* Compare Site.
ObjectsInfo
by class name.
172
public static class ObjectsInfoByClassName implements Comparator<Site.
ObjectsInfo
> {
[
all
...]
Site.java
55
private List<
ObjectsInfo
> mObjectsInfos;
56
private Map<Heap, Map<ClassObj,
ObjectsInfo
>> mObjectsInfoMap;
58
public static class
ObjectsInfo
{
64
public
ObjectsInfo
(Heap heap, ClassObj classObj, long numInstances, long numBytes) {
87
mObjectsInfos = new ArrayList<
ObjectsInfo
>();
88
mObjectsInfoMap = new HashMap<Heap, Map<ClassObj,
ObjectsInfo
>>();
101
Map<ClassObj,
ObjectsInfo
> classToObjectsInfo = mObjectsInfoMap.get(inst.getHeap());
103
classToObjectsInfo = new HashMap<ClassObj,
ObjectsInfo
>();
107
ObjectsInfo
info = classToObjectsInfo.get(inst.getClassObj());
109
info = new
ObjectsInfo
(inst.getHeap(), inst.getClassObj(), 0, 0)
[
all
...]
SiteHandler.java
87
List<Site.
ObjectsInfo
> infos = site.getObjectsInfos();
88
Comparator<Site.
ObjectsInfo
> compare = new Sort.WithPriority<Site.
ObjectsInfo
>(
93
SubsetSelector<Site.
ObjectsInfo
> selector
95
for (Site.
ObjectsInfo
info : selector.selected()) {
Completed in 320 milliseconds