/art/tools/ahat/test/ |
H A D | NativeAllocationTest.java | 33 for (InstanceUtils.NativeAllocation alloc : snapshot.getNativeAllocations()) { 34 if (alloc.referent == referent) { 35 assertEquals(42 , alloc.size); 36 assertEquals(referent.getHeap(), alloc.heap); 37 assertEquals(0xABCDABCD , alloc.pointer);
|
/art/tools/ahat/src/ |
H A D | NativeAllocationsHandler.java | 41 for (InstanceUtils.NativeAllocation alloc : allocs) { 42 totalSize += alloc.size; 67 for (InstanceUtils.NativeAllocation alloc : selector.selected()) { 69 DocString.format("%,14d", alloc.size), 70 DocString.text(alloc.heap.getName()), 71 DocString.format("0x%x", alloc.pointer), 72 Value.render(mSnapshot, alloc.referent)); 79 for (InstanceUtils.NativeAllocation alloc : remaining) { 80 total += alloc.size;
|
H A D | OverviewHandler.java | 56 for (InstanceUtils.NativeAllocation alloc : allocs) { 57 totalSize += alloc.size;
|
H A D | AhatSnapshot.java | 124 InstanceUtils.NativeAllocation alloc = InstanceUtils.getNativeAllocation(inst); 125 if (alloc != null) { 126 mNativeAllocations.add(alloc);
|
/art/compiler/utils/ |
H A D | swap_space_test.cc | 40 SwapAllocator<void> alloc(use_file ? &pool : nullptr); 42 SwapVector<int32_t> v(alloc); 49 SwapVector<int32_t> v2(alloc); 56 SwapVector<int32_t> v3(alloc);
|
H A D | dedupe_set.h | 44 DedupeSet(const char* set_name, const Alloc& alloc);
|
H A D | dedupe_set_test.cc | 56 DedupeSetTestAlloc alloc; local 61 DedupeSetTestHashFunc> deduplicator("test", alloc);
|
H A D | dedupe_set-inl.h | 55 Shard(const Alloc& alloc, const std::string& lock_name) argument 56 : alloc_(alloc), 210 const Alloc& alloc) 215 shards_[i].reset(new Shard(alloc, oss.str())); 209 DedupeSet(const char* set_name, const Alloc& alloc) argument
|
/art/runtime/ |
H A D | monitor_pool_test.cc | 63 bool alloc; local 65 alloc = true; 67 alloc = false; 70 alloc = r.next() % 2 == 0; 73 if (alloc) {
|
H A D | leb128.h | 239 explicit Leb128EncodingVector(const typename Vector::allocator_type& alloc) argument 240 : Vector(alloc),
|
/art/runtime/base/ |
H A D | dchecked_vector.h | 60 explicit dchecked_vector(const allocator_type& alloc) argument 61 : Base(alloc) { } 64 explicit dchecked_vector(size_type n, const allocator_type& alloc = allocator_type()) 65 : Base(alloc) { resize(n); } 68 const allocator_type& alloc = allocator_type()) 69 : Base(n, value, alloc) { } 73 const allocator_type& alloc = allocator_type()) 74 : Base(first, last, alloc) { } 77 dchecked_vector(const dchecked_vector& src, const allocator_type& alloc) argument 78 : Base(src, alloc) { } 81 dchecked_vector(dchecked_vector&& src, const allocator_type& alloc) argument [all...] |
H A D | hash_map.h | 68 explicit HashMap(const Alloc& alloc) argument 69 : Base(alloc) { }
|
H A D | allocator.h | 120 TrackingAllocatorImpl(const TrackingAllocatorImpl<U, kTag>& alloc ATTRIBUTE_UNUSED) noexcept {}
|
H A D | hash_set.h | 155 explicit HashSet(const allocator_type& alloc) noexcept 156 : allocfn_(alloc),
|
/art/compiler/ |
H A D | compiled_method.cc | 133 SwapAllocator<CompiledMethod> alloc(driver->GetCompiledMethodStorage()->GetSwapSpaceAllocator()); 134 CompiledMethod* ret = alloc.allocate(1); 135 alloc.construct(ret, 149 SwapAllocator<CompiledMethod> alloc(driver->GetCompiledMethodStorage()->GetSwapSpaceAllocator()); 150 alloc.destroy(m); 151 alloc.deallocate(m, 1);
|
H A D | compiled_method.h | 123 explicit SrcMap(const Allocator& alloc) : std::vector<SrcMapElem, Allocator>(alloc) {} argument 126 SrcMap(InputIt first, InputIt last, const Allocator& alloc) argument 127 : std::vector<SrcMapElem, Allocator>(first, last, alloc) {}
|
/art/compiler/debug/dwarf/ |
H A D | debug_info_entry_writer.h | 202 const typename Vector::allocator_type& alloc = 206 entries_(alloc),
|
H A D | debug_line_opcode_writer.h | 225 const typename Vector::allocator_type& alloc = 228 opcodes_(alloc),
|
H A D | debug_frame_opcode_writer.h | 301 const typename Vector::allocator_type& alloc = 305 opcodes_(alloc),
|
/art/runtime/jit/ |
H A D | jit_code_cache.cc | 262 void JitCodeCache::RemoveMethodsIn(Thread* self, const LinearAlloc& alloc) { argument 271 if (alloc.ContainsUnsafe(it->second)) { 280 if (alloc.ContainsUnsafe(it->first)) { 289 if (alloc.ContainsUnsafe(info->GetMethod())) {
|
H A D | jit_code_cache.h | 146 // Remove all methods in our cache that were allocated by 'alloc'. 147 void RemoveMethodsIn(Thread* self, const LinearAlloc& alloc)
|