HomeSort by relevance Sort by last modified time
    Searched refs:bytes_allocated (Results 1 - 25 of 42) sorted by null

1 2

  /art/runtime/gc/space/
dlmalloc_space-inl.h 29 size_t* bytes_allocated,
35 obj = AllocWithoutGrowthLocked(self, num_bytes, bytes_allocated, usable_size,
56 size_t* bytes_allocated,
66 DCHECK(bytes_allocated != nullptr);
67 *bytes_allocated = allocation_size;
rosalloc_space-inl.h 65 size_t* bytes_allocated, size_t* usable_size,
82 DCHECK(bytes_allocated != nullptr);
83 *bytes_allocated = rosalloc_bytes_allocated;
99 size_t* bytes_allocated) {
100 DCHECK(bytes_allocated != nullptr);
102 rosalloc_->AllocFromThreadLocalRun(self, num_bytes, bytes_allocated));
region_space-inl.h 26 inline mirror::Object* RegionSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated,
30 return AllocNonvirtual<false>(num_bytes, bytes_allocated, usable_size,
35 size_t* bytes_allocated,
39 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated);
43 inline mirror::Object* RegionSpace::AllocNonvirtual(size_t num_bytes, size_t* bytes_allocated,
51 obj = current_region_->Alloc(num_bytes, bytes_allocated, usable_size,
55 obj = evac_region_->Alloc(num_bytes, bytes_allocated, usable_size,
64 obj = current_region_->Alloc(num_bytes, bytes_allocated, usable_size,
67 obj = evac_region_->Alloc(num_bytes, bytes_allocated, usable_size,
84 obj = r->Alloc(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated)
    [all...]
memory_tool_malloc_space.h 34 mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated,
37 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
39 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated,
memory_tool_malloc_space-inl.h 32 size_t bytes_allocated, size_t usable_size,
37 *bytes_allocated_out = bytes_allocated;
63 // Right redzone. Assumes that if bytes_allocated > usable_size, then the difference is
90 size_t bytes_allocated; local
94 &bytes_allocated, &usable_size,
102 bytes_allocated, usable_size,
119 size_t bytes_allocated; local
123 &bytes_allocated, &usable_size, &bytes_tl_bulk_allocated);
130 bytes_allocated, usable_size,
147 size_t bytes_allocated; local
    [all...]
rosalloc_space.h 49 mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated,
52 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
54 return AllocNonvirtual(self, num_bytes, bytes_allocated, usable_size,
57 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated,
60 return AllocNonvirtualThreadUnsafe(self, num_bytes, bytes_allocated, usable_size,
71 mirror::Object* AllocNonvirtual(Thread* self, size_t num_bytes, size_t* bytes_allocated,
74 return AllocCommon(self, num_bytes, bytes_allocated, usable_size,
78 size_t* bytes_allocated, size_t* usable_size,
81 return AllocCommon<false>(self, num_bytes, bytes_allocated, usable_size,
91 size_t* bytes_allocated);
    [all...]
bump_pointer_space-inl.h 27 inline mirror::Object* BumpPointerSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated,
33 *bytes_allocated = num_bytes;
43 size_t* bytes_allocated,
54 *bytes_allocated = num_bytes;
dlmalloc_space.h 50 virtual mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated,
55 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
58 return AllocNonvirtual(self, num_bytes, bytes_allocated, usable_size,
87 mirror::Object* AllocNonvirtual(Thread* self, size_t num_bytes, size_t* bytes_allocated,
147 mirror::Object* AllocWithoutGrowthLocked(Thread* self, size_t num_bytes, size_t* bytes_allocated,
space_test.h 71 size_t* bytes_allocated,
79 bytes_allocated,
91 size_t* bytes_allocated,
97 mirror::Object* obj = alloc_space->AllocWithGrowth(self, bytes, bytes_allocated, usable_size,
195 size_t bytes_allocated = 0; local
198 object.Assign(Alloc(space, self, alloc_size, &bytes_allocated, nullptr,
201 object.Assign(AllocWithGrowth(space, self, alloc_size, &bytes_allocated, nullptr,
209 EXPECT_EQ(bytes_allocated, allocation_size);
293 size_t bytes_allocated = 0; local
296 large_object.Assign(Alloc(space, self, three_quarters_space, &bytes_allocated, nullptr
    [all...]
region_space.h 44 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
48 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated,
53 ALWAYS_INLINE mirror::Object* AllocNonvirtual(size_t num_bytes, size_t* bytes_allocated,
59 mirror::Object* AllocLarge(size_t num_bytes, size_t* bytes_allocated, size_t* usable_size,
61 void FreeLarge(mirror::Object* large_obj, size_t bytes_allocated) REQUIRES(!region_lock_);
275 ALWAYS_INLINE mirror::Object* Alloc(size_t num_bytes, size_t* bytes_allocated,
394 size_t bytes_allocated = RoundUp(BytesAllocated(), kRegionSize); local
395 DCHECK_GE(bytes_allocated, 0U);
396 uint result = (live_bytes_ * 100U) / bytes_allocated;
bump_pointer_space.h 49 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
52 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated,
malloc_space.h 57 size_t* bytes_allocated, size_t* usable_size,
60 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
zygote_space.h 48 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
space.h 203 // succeeds, the output parameter bytes_allocated will be set to the
209 // 1) equal to bytes_allocated if it's not a thread local allocation,
210 // 2) greater than bytes_allocated if it's a thread local
215 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
219 virtual mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated,
223 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated);
dlmalloc_space.cc 129 size_t* bytes_allocated, size_t* usable_size,
138 result = AllocWithoutGrowthLocked(self, num_bytes, bytes_allocated, usable_size,
266 size_t bytes_allocated = 0; local
267 mspace_inspect_all(mspace_, DlmallocBytesAllocatedCallback, &bytes_allocated);
268 return bytes_allocated;
rosalloc_space.cc 155 size_t* bytes_allocated, size_t* usable_size,
164 result = AllocCommon(self, num_bytes, bytes_allocated, usable_size,
290 size_t bytes_allocated = 0; local
291 InspectAllRosAlloc(art::gc::allocator::RosAlloc::BytesAllocatedCallback, &bytes_allocated, false);
292 return bytes_allocated;
  /art/runtime/gc/
heap-inl.h 70 size_t bytes_allocated; local
88 bytes_allocated = byte_count;
89 usable_size = bytes_allocated;
93 (obj = rosalloc_space_->AllocThreadLocal(self, byte_count, &bytes_allocated)) &&
103 usable_size = bytes_allocated;
109 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated,
118 &bytes_allocated,
135 DCHECK_GT(bytes_allocated, 0u);
169 thread_stats->allocated_bytes += bytes_allocated;
172 global_stats->allocated_bytes += bytes_allocated;
    [all...]
  /art/runtime/gc/allocator/
rosalloc-inl.h 31 inline ALWAYS_INLINE void* RosAlloc::Alloc(Thread* self, size_t size, size_t* bytes_allocated,
35 return AllocLargeObject(self, size, bytes_allocated, usable_size,
40 m = AllocFromRun(self, size, bytes_allocated, usable_size, bytes_tl_bulk_allocated);
42 m = AllocFromRunThreadUnsafe(self, size, bytes_allocated, usable_size,
79 size_t* bytes_allocated) {
80 DCHECK(bytes_allocated != nullptr);
97 *bytes_allocated = bracket_size;
dlmalloc.cc 86 size_t* bytes_allocated = reinterpret_cast<size_t*>(arg); local
87 *bytes_allocated += used_bytes + sizeof(size_t);
  /external/v8/src/heap/
scavenge-job.h 39 void ScheduleIdleTaskIfNeeded(Heap* heap, int bytes_allocated);
scavenge-job.cc 90 void ScavengeJob::ScheduleIdleTaskIfNeeded(Heap* heap, int bytes_allocated) {
91 bytes_allocated_since_the_last_task_ += bytes_allocated;
  /art/runtime/gc/accounting/
mod_union_table_test.cc 53 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; local
55 space->Alloc(self, size, &bytes_allocated, nullptr, &bytes_tl_bulk_allocated));
60 EXPECT_GE(bytes_allocated, size);
82 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; local
83 auto* klass = down_cast<mirror::Class*>(space->Alloc(self, class_size, &bytes_allocated,
  /art/test/099-vmdebug/src/
Main.java 183 String bytes_allocated = VMDebug.getRuntimeStat("art.gc.bytes-allocated"); local
192 checkNumber(bytes_allocated);
210 String bytes_allocated = map.get("art.gc.bytes-allocated"); local
219 checkNumber(bytes_allocated);
  /art/runtime/base/
arena_allocator.cc 130 const size_t bytes_allocated = BytesAllocated(); local
131 os << " MEM: used: " << bytes_allocated << ", allocated: " << malloc_bytes
136 << num_allocations << ", avg size: " << bytes_allocated / num_allocations << "\n";
  /cts/tests/tests/os/src/android/os/cts/
DebugTest.java 260 String bytes_allocated = Debug.getRuntimeStat("art.gc.bytes-allocated"); local
269 checkNumber(bytes_allocated);
287 String bytes_allocated = map.get("art.gc.bytes-allocated"); local
296 checkNumber(bytes_allocated);

Completed in 785 milliseconds

1 2