Searched refs:AllocInfo (Results 1 - 8 of 8) sorted by relevance
/arkcompiler/runtime_core/libpandabase/mem/ |
H A D | alloc_tracker.h | 59 auto ins_result = allocated_addresses_.insert({addr, AllocInfo(internal_alloc_counter_, size)}); 98 class AllocInfo { class in panda::final 100 AllocInfo(size_t alloc_number, size_t size) : alloc_number_(alloc_number), size_(size) {} in AllocInfo() function in panda::final::AllocInfo 123 std::unordered_map<void *, AllocInfo> allocated_addresses_; 142 class AllocInfo { class in panda::final 144 AllocInfo(uint32_t id, uint32_t size, uint32_t space, uint32_t stacktrace_id) in AllocInfo() function in panda::final::AllocInfo 210 std::map<void *, AllocInfo *> cur_allocs_ GUARDED_BY(mutex_);
|
H A D | alloc_tracker.cpp | 93 if (cur_arena_.size() < sizeof(AllocInfo)) { in TrackAlloc() 96 auto info = new (cur_arena_.data()) AllocInfo(cur_id_++, size, static_cast<uint32_t>(space), stacktrace_id); in TrackAlloc() 97 cur_arena_ = cur_arena_.SubSpan(sizeof(AllocInfo)); in TrackAlloc() 109 AllocInfo *alloc = it->second; in TrackFree() 166 auto alloc = reinterpret_cast<AllocInfo *>(ptr + pos); in Dump() 172 pos += sizeof(AllocInfo); in Dump()
|
/arkcompiler/runtime_core/static_core/libpandabase/mem/ |
H A D | alloc_tracker.h | 56 auto insResult = allocatedAddresses_.insert({addr, AllocInfo(internalAllocCounter_, size)}); 95 class AllocInfo { class in ark::final 97 AllocInfo(size_t allocNumber, size_t size) : allocNumber_(allocNumber), size_(size) {} in AllocInfo() function in ark::final::AllocInfo 120 std::unordered_map<void *, AllocInfo> allocatedAddresses_; 139 class AllocInfo { class in ark::final 141 AllocInfo(uint32_t id, uint32_t size, uint32_t space, uint32_t stacktraceId) in AllocInfo() function in ark::final::AllocInfo 207 std::map<void *, AllocInfo *> curAllocs_ GUARDED_BY(mutex_);
|
H A D | alloc_tracker.cpp | 93 if (curArena_.size() < sizeof(AllocInfo)) { in TrackAlloc() 96 auto info = new (curArena_.data()) AllocInfo(curId_++, size, static_cast<uint32_t>(space), stacktraceId); in TrackAlloc() 97 curArena_ = curArena_.SubSpan(sizeof(AllocInfo)); in TrackAlloc() 109 AllocInfo *alloc = it->second; in TrackFree() 166 auto alloc = reinterpret_cast<AllocInfo *>(ptr + pos); in Dump() 172 pos += sizeof(AllocInfo); in Dump()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | alloc_tracker_test.cpp | 28 struct AllocInfo { struct 82 AllocInfo info; in TEST() 110 AllocInfo alloc; in TEST()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | alloc_tracker_test.cpp | 28 struct AllocInfo { struct 83 AllocInfo info; in TEST() 113 AllocInfo alloc; in TEST()
|
/arkcompiler/runtime_core/scripts/ |
H A D | memdump.py | 59 class AllocInfo: class 191 stacktrace_id, AllocInfo(stacktrace))
|
/arkcompiler/runtime_core/static_core/scripts/ |
H A D | memdump.py | 59 class AllocInfo: class 191 stacktrace_id, AllocInfo(stacktrace))
|
Completed in 5 milliseconds