Home
last modified time | relevance | path

Searched refs:NativeAllocation (Results 1 – 7 of 7) sorted by relevance

/art/test/004-NativeAllocations/src/
DMain.java30 static class NativeAllocation { class in Main
33 NativeAllocation(int bytes, boolean testingDeadlock) throws Exception { in NativeAllocation() method in Main.NativeAllocation
67 NativeAllocation[] allocations = new NativeAllocation[count]; in main()
69 allocations[i % count] = new NativeAllocation(size, false); in main()
76 allocations[i % count] = new NativeAllocation(size, true); in main()
81 allocations[i % count] = new NativeAllocation(size, true); in main()
/art/tools/ahat/src/
DNativeAllocationsHandler.java35 List<InstanceUtils.NativeAllocation> allocs = mSnapshot.getNativeAllocations(); in handle()
41 for (InstanceUtils.NativeAllocation alloc : allocs) { in handle()
60 Comparator<InstanceUtils.NativeAllocation> compare in handle()
61 = new Sort.WithPriority<InstanceUtils.NativeAllocation>( in handle()
65 SubsetSelector<InstanceUtils.NativeAllocation> selector in handle()
67 for (InstanceUtils.NativeAllocation alloc : selector.selected()) { in handle()
76 List<InstanceUtils.NativeAllocation> remaining = selector.remaining(); in handle()
79 for (InstanceUtils.NativeAllocation alloc : remaining) { in handle()
DSort.java187 implements Comparator<InstanceUtils.NativeAllocation> {
189 public int compare(InstanceUtils.NativeAllocation a, InstanceUtils.NativeAllocation b) { in compare()
200 public static class NativeAllocationBySize implements Comparator<InstanceUtils.NativeAllocation> {
202 public int compare(InstanceUtils.NativeAllocation a, InstanceUtils.NativeAllocation b) { in compare()
DOverviewHandler.java52 List<InstanceUtils.NativeAllocation> allocs = mSnapshot.getNativeAllocations(); in handle()
56 for (InstanceUtils.NativeAllocation alloc : allocs) { in handle()
DAhatSnapshot.java65 private final List<InstanceUtils.NativeAllocation> mNativeAllocations
66 = new ArrayList<InstanceUtils.NativeAllocation>();
124 InstanceUtils.NativeAllocation alloc = InstanceUtils.getNativeAllocation(inst); in AhatSnapshot()
270 public List<InstanceUtils.NativeAllocation> getNativeAllocations() { in getNativeAllocations()
DInstanceUtils.java293 public static class NativeAllocation { class in InstanceUtils
299 public NativeAllocation(long size, Heap heap, long pointer, Instance referent) { in NativeAllocation() method in InstanceUtils.NativeAllocation
312 public static NativeAllocation getNativeAllocation(Instance inst) { in getNativeAllocation()
359 return new NativeAllocation(size, inst.getHeap(), pointer, referent); in getNativeAllocation()
/art/tools/ahat/test/
DNativeAllocationTest.java33 for (InstanceUtils.NativeAllocation alloc : snapshot.getNativeAllocations()) { in nativeAllocation()