Searched refs:NativeAllocation (Results 1 – 7 of 7) sorted by relevance
/art/test/004-NativeAllocations/src/ |
D | Main.java | 30 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/ |
D | NativeAllocationsHandler.java | 35 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()
|
D | Sort.java | 187 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()
|
D | OverviewHandler.java | 52 List<InstanceUtils.NativeAllocation> allocs = mSnapshot.getNativeAllocations(); in handle() 56 for (InstanceUtils.NativeAllocation alloc : allocs) { in handle()
|
D | AhatSnapshot.java | 65 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()
|
D | InstanceUtils.java | 293 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/ |
D | NativeAllocationTest.java | 33 for (InstanceUtils.NativeAllocation alloc : snapshot.getNativeAllocations()) { in nativeAllocation()
|