Searched refs:allocated (Results 1 - 6 of 6) sorted by relevance

/art/openjdkjvmti/
H A Dti_allocator.cc48 std::atomic<jlong> AllocUtil::allocated; member in class:openjdkjvmti::AllocUtil
55 *allocated_ptr = allocated.load();
78 allocated += malloc_usable_size(ret);
90 allocated -= malloc_usable_size(mem);
H A Dti_allocator.h56 static std::atomic<jlong> allocated; member in class:openjdkjvmti::AllocUtil
/art/test/1900-track-alloc/
H A Dalloc.cc27 typedef jvmtiError (*GetGlobalState)(jvmtiEnv* env, jlong* allocated);
76 jlong allocated = -1; local
77 JvmtiErrorToException(env, jvmti_env, data->get_global_state(jvmti_env, &allocated));
78 return allocated;
/art/runtime/base/
H A Dscoped_arena_allocator.cc82 // Update how many bytes we have allocated into the arena so that the arena pool knows how
85 size_t allocated = static_cast<size_t>(top_ptr_ - top_arena_->Begin()); local
86 if (top_arena_->bytes_allocated_ < allocated) {
87 top_arena_->bytes_allocated_ = allocated;
94 // mark only the actually allocated memory as defined. That leaves red zones
/art/runtime/gc/space/
H A Dregion_space-inl.h212 // For newly allocated and evacuated regions, live bytes will be -1.
287 size_t allocated = num_regs * kRegionSize; local
290 first_reg->SetTop(first_reg->Begin() + allocated);
301 *bytes_allocated = allocated;
303 *usable_size = allocated;
305 *bytes_tl_bulk_allocated = allocated;
/art/runtime/gc/
H A Dheap.cc610 // immune region won't break (eg. due to a large object allocated in the gap). This is only
1015 os << "Total bytes allocated " << PrettySize(GetBytesAllocatedEver()) << "\n";
1051 os << "Registered native bytes allocated: "
1402 // If we are in the allocated region of the temp space, then we are probably live (e.g. during
1540 // ahead-of-time, bulk counting of bytes allocated in rosalloc thread-local buffers.
1878 // Even if we waited for a GC we still need to do another GC since weaks allocated during the
3468 // We also check that the bytes allocated aren't over the footprint limit in order to prevent a
3492 // Bytes allocated will shrink by freed_bytes after the GC runs, so if we want to figure out
3493 // how many bytes were allocated during the GC we need to add freed_bytes back on.
3779 // allocated sinc
3793 size_t allocated; local
[all...]

Completed in 105 milliseconds