Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 25 of 32) sorted by relevance

12

/art/tools/jvmti-agents/ti-alloc-sample/
DAndroid.bp19 name: "ti-alloc-sample-base-defaults",
34 name: "ti-alloc-sample-defaults",
39 defaults: ["ti-alloc-sample-base-defaults"],
43 name: "ti-alloc-sample-static-defaults",
45 defaults: ["ti-alloc-sample-base-defaults"],
59 defaults: ["ti-alloc-sample-static-defaults"],
64 defaults: ["ti-alloc-sample-defaults"],
71 "ti-alloc-sample-defaults",
/art/test/616-cha-unloading/
Dcha_unload.cc38 bool Visit(LinearAlloc* alloc) in Visit() argument
40 is_found = alloc->Contains(ptr_); in Visit()
80 std::unique_ptr<LinearAlloc> alloc(Runtime::Current()->CreateLinearAlloc()); in Java_Main_reuseArenaOfMethod() local
83 alloc->Alloc(Thread::Current(), 1); in Java_Main_reuseArenaOfMethod()
84 } while (!alloc->Contains(ptr)); in Java_Main_reuseArenaOfMethod()
/art/libartbase/base/
Ddchecked_vector.h60 explicit dchecked_vector(const allocator_type& alloc) in dchecked_vector() argument
61 : Base(alloc) { } in dchecked_vector()
62 explicit dchecked_vector(size_type n, const allocator_type& alloc = allocator_type())
63 : Base(n, alloc) { } in Base() argument
66 const allocator_type& alloc = allocator_type())
67 : Base(n, value, alloc) { } in Base() argument
71 const allocator_type& alloc = allocator_type())
72 : Base(first, last, alloc) { } in Base() argument
75 dchecked_vector(const dchecked_vector& src, const allocator_type& alloc) in dchecked_vector() argument
76 : Base(src, alloc) { } in dchecked_vector()
[all …]
Dhash_map.h82 explicit HashMap(const Alloc& alloc) in HashMap() argument
83 : Base(alloc) { } in HashMap()
Dleb128.h367 explicit Leb128EncodingVector(const typename Vector::allocator_type& alloc) in Leb128EncodingVector() argument
368 : Vector(alloc), in Leb128EncodingVector()
Dallocator.h119 const TrackingAllocatorImpl<U, kTag>& alloc ATTRIBUTE_UNUSED) noexcept {} in TrackingAllocatorImpl()
Dhash_set.h209 explicit HashSet(const allocator_type& alloc) noexcept in HashSet() argument
210 : allocfn_(alloc), in HashSet()
/art/compiler/utils/
Dswap_space_test.cc42 SwapAllocator<void> alloc(use_file ? &pool : nullptr); in SwapTest() local
44 SwapVector<int32_t> v(alloc); in SwapTest()
51 SwapVector<int32_t> v2(alloc); in SwapTest()
58 SwapVector<int32_t> v3(alloc); in SwapTest()
Ddedupe_set_test.cc56 DedupeSetTestAlloc alloc; in TEST() local
61 DedupeSetTestHashFunc> deduplicator("test", alloc); in TEST()
Ddedupe_set.h44 DedupeSet(const char* set_name, const Alloc& alloc);
Ddedupe_set-inl.h57 Shard(const Alloc& alloc, const std::string& lock_name)
58 : alloc_(alloc),
212 const Alloc& alloc)
217 shards_[i].reset(new Shard(alloc, oss.str()));
/art/compiler/
Dcompiled_method.cc116 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod() local
117 CompiledMethod* ret = alloc.allocate(1); in SwapAllocCompiledMethod()
118 alloc.construct(ret, in SwapAllocCompiledMethod()
129 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in ReleaseSwapAllocatedCompiledMethod() local
130 alloc.destroy(m); in ReleaseSwapAllocatedCompiledMethod()
131 alloc.deallocate(m, 1); in ReleaseSwapAllocatedCompiledMethod()
/art/runtime/
Dmonitor_pool_test.cc63 bool alloc; in TEST_F() local
65 alloc = true; in TEST_F()
67 alloc = false; in TEST_F()
70 alloc = r.next() % 2 == 0; in TEST_F()
73 if (alloc) { in TEST_F()
Dcha.cc83 const LinearAlloc* alloc, in ResetSingleImplementationInHierarchy() argument
88 DCHECK(alloc != nullptr); in ResetSingleImplementationInHierarchy()
99 if (!alloc->ContainsUnsafe(klass->GetMethodsPtr())) { in ResetSingleImplementationInHierarchy()
125 if (!alloc->ContainsUnsafe(method)) { in ResetSingleImplementationInHierarchy()
172 alloc->ContainsUnsafe(method->GetSingleImplementation(pointer_size)) && in ResetSingleImplementationInHierarchy()
Dcha.h120 const LinearAlloc* alloc,
/art/libelffile/elf/
Dxz_utils.cc102 ISzAlloc alloc; in XzDecompress() local
103 alloc.Alloc = [](ISzAllocPtr, size_t size) { return malloc(size); }; in XzDecompress()
104 alloc.Free = [](ISzAllocPtr, void* ptr) { return free(ptr); }; in XzDecompress()
105 XzUnpacker_Construct(state.get(), &alloc); in XzDecompress()
/art/test/1900-track-alloc/
DAndroid.bp3 name: "art-run-test-1900-track-alloc",
/art/test/175-alloc-big-bignums/
DAndroid.bp3 name: "art-run-test-175-alloc-big-bignums",
/art/libelffile/dwarf/
Ddebug_line_opcode_writer.h225 const typename Vector::allocator_type& alloc =
228 opcodes_(alloc),
Ddebug_info_entry_writer.h202 const typename Vector::allocator_type& alloc =
206 entries_(alloc),
Ddebug_frame_opcode_writer.h303 const typename Vector::allocator_type& alloc =
307 opcodes_(alloc),
/art/runtime/jit/
Djit_code_cache.cc176 void RemoveMethodsIn(const LinearAlloc& alloc) REQUIRES_SHARED(Locks::mutator_lock_) { in RemoveMethodsIn() argument
180 [&alloc](ArtMethod* method) { return !alloc.ContainsUnsafe(method); }); in RemoveMethodsIn()
385 static const void* FromAllocationToCode(const uint8_t* alloc) { in FromAllocationToCode() argument
387 return reinterpret_cast<const void*>(alloc + RoundUp(sizeof(OatQuickMethodHeader), alignment)); in FromAllocationToCode()
527 void JitCodeCache::RemoveMethodsIn(Thread* self, const LinearAlloc& alloc) { in RemoveMethodsIn() argument
541 it->second.RemoveMethodsIn(alloc); in RemoveMethodsIn()
551 if (alloc.ContainsUnsafe(it->second)) { in RemoveMethodsIn()
561 if (alloc.ContainsUnsafe(it->first)) { in RemoveMethodsIn()
571 if (alloc.ContainsUnsafe(info->GetMethod())) { in RemoveMethodsIn()
/art/openjdkjvmti/
Djvmti_weak_table-inl.h252 explicit ReleasableContainer(const allocator_type& alloc, size_t reserve = 10)
253 : allocator(alloc),
/art/dt_fd_forward/
Ddt_fd_forward.cc646 return mem_.alloc(s); in Alloc()
777 void* data = cb->alloc(sizeof(FdForwardTransport)); in jdwpTransport_OnLoad()
/art/test/ti-stress/
Dstress.cc109 Allocator alloc(env); in DoExtractClassFromData() local
111 unsigned char* res = writer.CreateImage(&alloc, &res_len); in DoExtractClassFromData()

12