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

1 2

  /external/v8/src/heap/
local-allocator-inl.h 16 int object_size,
20 return AllocateInNewSpace(object_size, alignment);
22 return compaction_spaces_.Get(OLD_SPACE)->AllocateRaw(object_size,
26 ->AllocateRaw(object_size, alignment);
34 int object_size) {
37 FreeLastInNewSpace(object, object_size);
40 FreeLastInOldSpace(object, object_size);
49 void LocalAllocator::FreeLastInNewSpace(HeapObject* object, int object_size) {
50 if (!new_space_lab_.TryFreeLast(object, object_size)) {
52 heap_->CreateFillerObjectAt(object->address(), object_size,
    [all...]
local-allocator.h 44 inline AllocationResult Allocate(AllocationSpace space, int object_size,
47 int object_size);
50 inline AllocationResult AllocateInNewSpace(int object_size,
53 inline AllocationResult AllocateInLAB(int object_size,
55 inline void FreeLastInNewSpace(HeapObject* object, int object_size);
56 inline void FreeLastInOldSpace(HeapObject* object, int object_size);
scavenger-inl.h 75 HeapObject* object, int object_size) {
79 allocator_.Allocate(NEW_SPACE, object_size, alignment);
85 const bool self_success = MigrateObject(map, object, target, object_size);
87 allocator_.FreeLast(NEW_SPACE, target, object_size);
94 copied_list_.Push(ObjectAndSize(target, object_size));
95 copied_size_ += object_size;
102 HeapObject* object, int object_size) {
105 allocator_.Allocate(OLD_SPACE, object_size, alignment);
111 const bool self_success = MigrateObject(map, object, target, object_size);
113 allocator_.FreeLast(OLD_SPACE, target, object_size);
    [all...]
scavenger.h 71 HeapObject* object, int object_size);
74 HeapObject* object, int object_size);
82 HeapObject* object, int object_size);
85 JSFunction* object, int object_size);
88 ThinString* object, int object_size);
91 ConsString* object, int object_size);
mark-compact-inl.h 279 int object_size = FixedArray::BodyDescriptor::SizeOf(map, object); local
289 if (start_offset < object_size) {
302 Min(object_size, start_offset + kProgressBarScanningChunk);
307 end_offset = Min(object_size, end_offset + kProgressBarScanningChunk);
309 if (start_offset < object_size) {
311 object_size - (start_offset - already_scanned_offset));
315 FixedArray::BodyDescriptor::IterateBody(map, object, object_size, this);
317 return object_size;
485 // object_start + object_size - kPointerSize == object_start.
spaces-inl.h 173 bool PagedSpace::TryFreeLast(HeapObject* object, int object_size) {
176 if ((allocation_info_.top() - object_size) == object_address) {
493 bool LocalAllocationBuffer::TryFreeLast(HeapObject* object, int object_size) {
496 if ((allocation_info_.top() - object_size) == object_address) {
spaces.cc     [all...]
factory.cc 51 int object_size = Code::SizeFor(RoundUp(body_size, kObjectAlignment)); local
52 DCHECK(IsAligned(static_cast<intptr_t>(object_size), kCodeAlignment));
53 return object_size;
56 void InitializeCode(Heap* heap, Handle<Code> code, int object_size,
68 object_size <= heap->code_space()->AreaSize());
1893 int object_size = map->instance_size(); local
2578 int object_size = ComputeCodeObjectSize(desc); local
2629 int object_size = ComputeCodeObjectSize(desc); local
    [all...]
heap.h     [all...]
spaces.h 909 Address GetAddressToShrink(Address object_address, size_t object_size);
    [all...]
heap.cc     [all...]
  /external/v8/src/
objects-body-descriptors.h 27 // static inline void IterateBody(Map* map, HeapObject* obj, int object_size,
79 static inline void IterateBody(Map* map, HeapObject* obj, int object_size,
89 // in which all pointer fields are located in the [start_offset, object_size)
101 static inline void IterateBody(Map* map, HeapObject* obj, int object_size,
103 IteratePointers(obj, start_offset, object_size, v);
137 static inline void IterateBody(Map* map, HeapObject* obj, int object_size,
139 ParentBodyDescriptor::IterateBody(map, obj, object_size, v);
140 ChildBodyDescriptor::IterateBody(map, obj, object_size, v);
objects-body-descriptors-inl.h 99 static inline void IterateBody(Map* map, HeapObject* obj, int object_size,
101 IterateBodyImpl(map, obj, kStartOffset, object_size, v);
118 static inline void IterateBody(Map* map, HeapObject* obj, int object_size,
120 IteratePointers(obj, kStartOffset, object_size, v);
139 static inline void IterateBody(Map* map, HeapObject* obj, int object_size,
144 IterateBodyImpl(map, obj, header_size, object_size, v);
177 static inline void IterateBody(Map* map, HeapObject* obj, int object_size,
185 if (includeWeakNext && object_size == AllocationSite::kSizeWithWeakNext)
208 static inline void IterateBody(Map* map, HeapObject* obj, int object_size,
214 IterateBodyImpl(map, obj, kSize, object_size, v)
    [all...]
  /art/runtime/gc/space/
space_test.h 131 void SizeFootPrintGrowthLimitAndTrimBody(MallocSpace* space, intptr_t object_size,
133 void SizeFootPrintGrowthLimitAndTrimDriver(size_t object_size, CreateSpaceFn create_space);
143 intptr_t object_size,
146 if (((object_size > 0 && object_size >= static_cast<intptr_t>(growth_limit))) ||
147 ((object_size < 0 && -object_size >= static_cast<intptr_t>(growth_limit)))) {
169 size_t max_objects = (growth_limit / (object_size > 0 ? object_size : 8)) + 1;
181 if (object_size > 0)
    [all...]
  /external/clang/test/CodeGen/
builtins.c 109 P(object_size, (s0, 0));
110 P(object_size, (s0, 1));
111 P(object_size, (s0, 2));
112 P(object_size, (s0, 3));
  /external/v8/src/compiler/
memory-optimizer.cc 180 int32_t const object_size = m.Value(); local
182 state->size() <= kMaxRegularHeapObjectSize - object_size &&
187 int32_t const state_size = state->size() + object_size;
198 Node* top = __ IntAdd(state->top(), __ IntPtrConstant(object_size));
216 Node* size = __ UniqueInt32Constant(object_size);
254 top = __ IntAdd(done.PhiAt(0), __ IntPtrConstant(object_size));
266 state = AllocationState::Open(group, object_size, top, zone());
  /external/protobuf/src/google/protobuf/
generated_message_reflection.h 131 // object_size: The size of a message object of this type, as measured
141 int object_size,
179 int object_size,
197 int object_size,
208 int object_size,
generated_message_reflection.cc 184 int object_size,
195 object_size_ (object_size),
213 int object_size,
226 object_size_ (object_size),
    [all...]
  /art/runtime/gc/collector/
semi_space.cc 516 const size_t object_size = obj->SizeOf(); local
523 forward_address = promo_dest_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated,
527 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr,
573 forward_address = to_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated, nullptr,
581 forward_address = fallback_space_->AllocThreadUnsafe(self_, object_size, &bytes_allocated,
594 CopyAvoidingDirtyingPages(reinterpret_cast<void*>(forward_address), obj, object_size);
    [all...]
  /external/vixl/test/
test-pool-manager.cc 598 int object_size = 4; local
602 TestObject object(object_size, object_alignment);
617 VIXL_ASSERT(new_pc == min_location + object_size);
628 int object_size = 4; local
632 TestObject object(object_size, object_alignment);
649 VIXL_ASSERT(new_pc == AlignUp(pc, object_alignment) + object_size);
    [all...]
  /external/llvm/tools/llvm-objdump/
MachODump.cpp 2245 uint64_t object_size = MachOContents.size(); local
2266 uint64_t object_size = MachOContents.size(); local
2472 uint64_t object_size = MachOContents.size(); local
    [all...]
  /external/vixl/src/
pool-manager-impl.h 103 int object_size = label_base->GetPoolObjectSizeInBytes(); local
113 pc += object_size;
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/
MachODump.cpp 2655 uint64_t object_size = MachOContents.size(); local
2676 uint64_t object_size = MachOContents.size(); local
2873 uint64_t object_size = MachOContents.size(); local
    [all...]
  /art/dex2oat/linker/
image_writer.cc 1097 size_t object_size = object->SizeOf(); local
2482 const size_t object_size = RoundUp(obj->SizeOf(), kObjectAlignment); local
    [all...]
  /art/imgdiag/
imgdiag.cc 641 size_t object_size = EntrySize(object1); local
642 for (size_t i = 0; i < object_size; ++i) {
    [all...]

Completed in 1526 milliseconds

1 2