Home | History | Annotate | Download | only in gc

Lines Matching refs:bytes_allocated

564   size_t bytes_allocated = 0;
577 obj = Allocate(self, large_object_space_, byte_count, &bytes_allocated);
584 obj = Allocate(self, alloc_space_, byte_count, &bytes_allocated);
594 RecordAllocation(bytes_allocated, obj);
831 bytes_allocated) {
835 return space->Alloc(self, alloc_size, bytes_allocated);
840 bool grow, size_t* bytes_allocated) {
845 return space->AllocNonvirtual(self, alloc_size, bytes_allocated);
847 return space->Alloc(self, alloc_size, bytes_allocated);
853 size_t* bytes_allocated) {
859 mirror::Object* ptr = TryToAllocate(self, space, alloc_size, false, bytes_allocated);
863 return AllocateInternalWithGc(self, space, alloc_size, bytes_allocated);
867 size_t alloc_size, size_t* bytes_allocated) {
875 ptr = TryToAllocate(self, space, alloc_size, false, bytes_allocated);
910 ptr = TryToAllocate(self, space, alloc_size, false, bytes_allocated);
919 ptr = TryToAllocate(self, space, alloc_size, true, bytes_allocated);
934 return TryToAllocate(self, space, alloc_size, true, bytes_allocated);
1795 const size_t bytes_allocated = GetBytesAllocated();
1796 last_gc_size_ = bytes_allocated;
1802 target_size = bytes_allocated / GetTargetHeapUtilization();
1803 if (target_size > bytes_allocated + max_free_) {
1804 target_size = bytes_allocated + max_free_;
1805 } else if (target_size < bytes_allocated + min_free_) {
1806 target_size = bytes_allocated + min_free_;
1812 if (bytes_allocated + min_free_ <= max_allowed_footprint_) {
1819 if (bytes_allocated + max_free_ < max_allowed_footprint_) {
1820 target_size = bytes_allocated + max_free_;
1822 target_size = std::max(bytes_allocated, max_allowed_footprint_);
1841 concurrent_start_bytes_ = bytes_allocated;
1846 concurrent_start_bytes_ = std::max(max_allowed_footprint_ - remaining_bytes, bytes_allocated);