Home
last modified time | relevance | path

Searched refs:new_space (Results 1 – 18 of 18) sorted by relevance

/external/v8/test/cctest/
Dtest-spaces.cc197 NewSpace new_space(heap); in TEST() local
204 CHECK(new_space.Setup(start, 2 * heap->ReservedSemiSpaceSize())); in TEST()
205 CHECK(new_space.HasBeenSetup()); in TEST()
207 while (new_space.Available() >= Page::kMaxHeapObjectSize) { in TEST()
209 new_space.AllocateRaw(Page::kMaxHeapObjectSize)->ToObjectUnchecked(); in TEST()
210 CHECK(new_space.Contains(HeapObject::cast(obj))); in TEST()
213 new_space.TearDown(); in TEST()
Dtest-alloc.cc43 NewSpace* new_space = heap->new_space(); in AllocateAfterFailures() local
45 while (new_space->Available() > kNewSpaceFillerSize) { in AllocateAfterFailures()
46 int available_before = static_cast<int>(new_space->Available()); in AllocateAfterFailures()
48 if (available_before == new_space->Available()) { in AllocateAfterFailures()
Dtest-heap.cc844 Address current_top = HEAP->new_space()->top(); in TEST()
877 CHECK(HEAP->new_space()->Contains(addr)); in TEST()
935 NewSpace* new_space = HEAP->new_space(); in TEST() local
936 Address* top_addr = new_space->allocation_top_address(); in TEST()
937 Address* limit_addr = new_space->allocation_limit_address(); in TEST()
942 CHECK(new_space->Contains(array)); in TEST()
953 CHECK(new_space->Contains(array)); in TEST()
956 CHECK(new_space->Contains(object)); in TEST()
/external/v8/src/
Dmark-compact.cc1324 SemiSpaceIterator new_it(heap()->new_space(), &OverflowObjectSize); in RefillMarkingStack()
1395 marking_stack_.Initialize(heap()->new_space()->FromSpaceLow(), in MarkLiveObjects()
1396 heap()->new_space()->FromSpaceHigh()); in MarkLiveObjects()
1460 if (heap()->new_space()->Contains(obj)) { in UpdateLiveObjectCount()
1664 result = heap->new_space()->MCAllocateRaw(object_size)->ToObjectUnchecked(); in MCAllocateFromNewSpace()
1717 heap->new_space()->ToSpaceOffsetForAddress(old_object->address()); in EncodeForwardingAddressInNewSpace()
1718 Memory::Address_at(heap->new_space()->FromSpaceLow() + offset) = in EncodeForwardingAddressInNewSpace()
1823 heap()->new_space()->bottom(), in EncodeForwardingAddressesInNewSpace()
1824 heap()->new_space()->top(), in EncodeForwardingAddressesInNewSpace()
1885 if (heap->new_space()->Contains(obj)) { in VisitPointer()
[all …]
Dstring-stream.cc572 char* new_space = NewArray<char>(new_bytes); in grow() local
573 if (new_space == NULL) { in grow()
576 memcpy(new_space, space_, *bytes); in grow()
579 space_ = new_space; in grow()
580 return new_space; in grow()
Dheap.cc564 NewSpace* new_space = Heap::new_space(); in ReserveSpace() local
574 if (!new_space->ReserveSpace(new_space_size)) { in ReserveSpace()
734 int start_new_space_size = Heap::new_space()->SizeAsInt(); in PerformGarbageCollection()
1320 if (heap->new_space()->Contains(obj)) { in RecordCopiedObject()
1321 heap->new_space()->RecordAllocation(obj); in RecordCopiedObject()
1323 heap->new_space()->RecordPromotion(obj); in RecordCopiedObject()
1402 heap->new_space()->AllocateRaw(object_size)->ToObjectUnchecked(); in EvacuateObject()
5111 return HEAP->new_space(); in next()
5211 iterator_ = new SemiSpaceIterator(HEAP->new_space(), size_func_); in CreateIterator()
Dheap-inl.h43 ASSERT(reinterpret_cast<Address>(rear_) >= HEAP->new_space()->top()); in insert()
Dheap.h394 NewSpace* new_space() { return &new_space_; } in new_space() function
Dserialize.cc759 dest_space = isolate->heap()->new_space(); \
Dbuiltins.cc343 !heap->new_space()->Contains(elms)) { in LeftTrimFixedArray()
Dliveobjectlist.cc2579 i++, heap_obj, Heap::new_space()->FromSpaceLow()); in VerifyNotInFromSpace()
Druntime.cc5080 if (!isolate->heap()->new_space()->Contains(new_object)) { in QuoteJsonString()
5088 ASSERT(isolate->heap()->new_space()->Contains(new_string)); in QuoteJsonString()
5125 isolate->heap()->new_space()-> in QuoteJsonString()
8324 { MaybeObject* maybe_allocation = heap->new_space()->AllocateRaw(size); in RUNTIME_FUNCTION()
Dspaces.cc3038 if (heap()->new_space()->Contains(address)) { in Contains()
Dobjects-inl.h4041 } else if (!GetHeap()->new_space()->Contains(elts) && in EnsureSize()
/external/blktrace/
Dblkparse.c326 int new_space, size; in resize_cpu_info() local
339 new_space = (new_count - ncpus) * sizeof(struct per_cpu_info); in resize_cpu_info()
340 memset(new_start, 0, new_space); in resize_cpu_info()
/external/v8/src/ia32/
Dfull-codegen-ia32.cc3179 Label new_space; in EmitSwapElements() local
3180 __ InNewSpace(elements, temp, equal, &new_space); in EmitSwapElements()
3186 __ bind(&new_space); in EmitSwapElements()
/external/v8/src/arm/
Dfull-codegen-arm.cc3250 Label new_space; in EmitSwapElements() local
3251 __ InNewSpace(elements, scratch1, eq, &new_space); in EmitSwapElements()
3259 __ bind(&new_space); in EmitSwapElements()
/external/v8/src/x64/
Dfull-codegen-x64.cc3132 Label new_space; in EmitSwapElements() local
3133 __ InNewSpace(elements, temp, equal, &new_space); in EmitSwapElements()
3139 __ bind(&new_space); in EmitSwapElements()