Searched refs:alloc (Results 1 - 21 of 21) sorted by relevance

/art/tools/ahat/test/
H A DNativeAllocationTest.java33 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 DNativeAllocationsHandler.java41 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 DOverviewHandler.java56 for (InstanceUtils.NativeAllocation alloc : allocs) {
57 totalSize += alloc.size;
H A DAhatSnapshot.java124 InstanceUtils.NativeAllocation alloc = InstanceUtils.getNativeAllocation(inst);
125 if (alloc != null) {
126 mNativeAllocations.add(alloc);
/art/compiler/utils/
H A Dswap_space_test.cc40 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 Ddedupe_set.h44 DedupeSet(const char* set_name, const Alloc& alloc);
H A Ddedupe_set_test.cc56 DedupeSetTestAlloc alloc; local
61 DedupeSetTestHashFunc> deduplicator("test", alloc);
H A Ddedupe_set-inl.h55 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 Dmonitor_pool_test.cc63 bool alloc; local
65 alloc = true;
67 alloc = false;
70 alloc = r.next() % 2 == 0;
73 if (alloc) {
H A Dleb128.h239 explicit Leb128EncodingVector(const typename Vector::allocator_type& alloc) argument
240 : Vector(alloc),
/art/runtime/base/
H A Ddchecked_vector.h60 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 Dhash_map.h68 explicit HashMap(const Alloc& alloc) argument
69 : Base(alloc) { }
H A Dallocator.h120 TrackingAllocatorImpl(const TrackingAllocatorImpl<U, kTag>& alloc ATTRIBUTE_UNUSED) noexcept {}
H A Dhash_set.h155 explicit HashSet(const allocator_type& alloc) noexcept
156 : allocfn_(alloc),
/art/compiler/
H A Dcompiled_method.cc133 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 Dcompiled_method.h123 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 Ddebug_info_entry_writer.h202 const typename Vector::allocator_type& alloc =
206 entries_(alloc),
H A Ddebug_line_opcode_writer.h225 const typename Vector::allocator_type& alloc =
228 opcodes_(alloc),
H A Ddebug_frame_opcode_writer.h301 const typename Vector::allocator_type& alloc =
305 opcodes_(alloc),
/art/runtime/jit/
H A Djit_code_cache.cc261 void JitCodeCache::RemoveMethodsIn(Thread* self, const LinearAlloc& alloc) { argument
270 if (alloc.ContainsUnsafe(it->second)) {
279 if (alloc.ContainsUnsafe(it->first)) {
288 if (alloc.ContainsUnsafe(info->GetMethod())) {
H A Djit_code_cache.h146 // Remove all methods in our cache that were allocated by 'alloc'.
147 void RemoveMethodsIn(Thread* self, const LinearAlloc& alloc)

Completed in 232 milliseconds