• Home
  • Raw
  • Download

Lines Matching refs:heap

42   TestHeap* heap = CcTest::test_heap();  in AllocateAfterFailures()  local
45 SimulateFullSpace(heap->new_space()); in AllocateAfterFailures()
46 heap->AllocateByteArray(100).ToObjectChecked(); in AllocateAfterFailures()
47 heap->AllocateFixedArray(100, NOT_TENURED).ToObjectChecked(); in AllocateAfterFailures()
51 heap->AllocateFixedArray(100).ToObjectChecked(); in AllocateAfterFailures()
52 heap->AllocateHeapNumber(0.42).ToObjectChecked(); in AllocateAfterFailures()
53 Object* object = heap->AllocateJSObject( in AllocateAfterFailures()
55 heap->CopyJSObject(JSObject::cast(object)).ToObjectChecked(); in AllocateAfterFailures()
58 SimulateFullSpace(heap->old_data_space()); in AllocateAfterFailures()
59 heap->AllocateByteArray(100, TENURED).ToObjectChecked(); in AllocateAfterFailures()
62 SimulateFullSpace(heap->old_pointer_space()); in AllocateAfterFailures()
63 heap->AllocateFixedArray(10000, TENURED).ToObjectChecked(); in AllocateAfterFailures()
69 DCHECK(kLargeObjectSpaceFillerSize > heap->old_pointer_space()->AreaSize()); in AllocateAfterFailures()
70 while (heap->OldGenerationSpaceAvailable() > kLargeObjectSpaceFillerSize) { in AllocateAfterFailures()
71 heap->AllocateFixedArray( in AllocateAfterFailures()
74 heap->AllocateFixedArray( in AllocateAfterFailures()
78 SimulateFullSpace(heap->map_space()); in AllocateAfterFailures()
80 heap->AllocateMap(JS_OBJECT_TYPE, instance_size).ToObjectChecked(); in AllocateAfterFailures()
83 SimulateFullSpace(heap->code_space()); in AllocateAfterFailures()
84 heap->AllocateFixedArray(100, TENURED).ToObjectChecked(); in AllocateAfterFailures()
85 heap->CopyCode(CcTest::i_isolate()->builtins()->builtin( in AllocateAfterFailures()