Searched refs:NativeAllocation (Results 1 - 7 of 7) sorted by relevance
/art/test/004-NativeAllocations/src/ |
H A D | Main.java | 30 static class NativeAllocation { class in class:Main 33 NativeAllocation(int bytes, boolean testingDeadlock) throws Exception { method in class:Main.NativeAllocation 67 NativeAllocation[] allocations = new NativeAllocation[count]; 69 allocations[i % count] = new NativeAllocation(size, false); 76 allocations[i % count] = new NativeAllocation(size, true); 81 allocations[i % count] = new NativeAllocation(size, true);
|
/art/tools/ahat/src/ |
H A D | NativeAllocationsHandler.java | 35 List<InstanceUtils.NativeAllocation> allocs = mSnapshot.getNativeAllocations(); 41 for (InstanceUtils.NativeAllocation alloc : allocs) { 60 Comparator<InstanceUtils.NativeAllocation> compare 61 = new Sort.WithPriority<InstanceUtils.NativeAllocation>( 65 SubsetSelector<InstanceUtils.NativeAllocation> selector 67 for (InstanceUtils.NativeAllocation alloc : selector.selected()) { 76 List<InstanceUtils.NativeAllocation> remaining = selector.remaining(); 79 for (InstanceUtils.NativeAllocation alloc : remaining) {
|
H A D | Sort.java | 182 * Compare AhatSnapshot.NativeAllocation by heap name. 187 implements Comparator<InstanceUtils.NativeAllocation> { 189 public int compare(InstanceUtils.NativeAllocation a, InstanceUtils.NativeAllocation b) { 195 * Compare InstanceUtils.NativeAllocation by their size. 200 public static class NativeAllocationBySize implements Comparator<InstanceUtils.NativeAllocation> { 202 public int compare(InstanceUtils.NativeAllocation a, InstanceUtils.NativeAllocation b) {
|
H A D | OverviewHandler.java | 52 List<InstanceUtils.NativeAllocation> allocs = mSnapshot.getNativeAllocations(); 56 for (InstanceUtils.NativeAllocation alloc : allocs) {
|
H A D | AhatSnapshot.java | 65 private final List<InstanceUtils.NativeAllocation> mNativeAllocations 66 = new ArrayList<InstanceUtils.NativeAllocation>(); 124 InstanceUtils.NativeAllocation alloc = InstanceUtils.getNativeAllocation(inst); 270 public List<InstanceUtils.NativeAllocation> getNativeAllocations() {
|
H A D | InstanceUtils.java | 293 public static class NativeAllocation { class in class:InstanceUtils 299 public NativeAllocation(long size, Heap heap, long pointer, Instance referent) { method in class:InstanceUtils.NativeAllocation 308 * Assuming inst represents a NativeAllocation, return information about the 312 public static NativeAllocation getNativeAllocation(Instance inst) { 359 return new NativeAllocation(size, inst.getHeap(), pointer, referent);
|
/art/tools/ahat/test/ |
H A D | NativeAllocationTest.java | 33 for (InstanceUtils.NativeAllocation alloc : snapshot.getNativeAllocations()) {
|
Completed in 74 milliseconds