Home | History | Annotate | Download | only in cctest

Lines Matching full:heap

43   NewSpace* new_space = Heap::new_space();
47 CHECK(!Heap::AllocateByteArray(0)->IsFailure());
55 CHECK(!Heap::AllocateByteArray(100)->IsFailure());
56 CHECK(!Heap::AllocateFixedArray(100, NOT_TENURED)->IsFailure());
60 CHECK(!Heap::AllocateFixedArray(100)->IsFailure());
61 CHECK(!Heap::AllocateHeapNumber(0.42)->IsFailure());
62 CHECK(!Heap::AllocateArgumentsObject(Smi::FromInt(87), 10)->IsFailure());
63 Object* object = Heap::AllocateJSObject(*Top::object_function());
64 CHECK(!Heap::CopyJSObject(JSObject::cast(object))->IsFailure());
67 OldSpace* old_data_space = Heap::old_data_space();
70 CHECK(!Heap::AllocateByteArray(0, TENURED)->IsFailure());
72 CHECK(!Heap::AllocateRawAsciiString(100, TENURED)->IsFailure());
75 while (!Heap::OldGenerationAllocationLimitReached()) {
76 CHECK(!Heap::AllocateFixedArray(10000, TENURED)->IsFailure());
78 CHECK(!Heap::AllocateFixedArray(10000, TENURED)->IsFailure());
81 MapSpace* map_space = Heap::map_space();
86 CHECK(!Heap::AllocateMap(instance_type, instance_size)->IsFailure());
88 CHECK(!Heap::AllocateMap(instance_type, instance_size)->IsFailure());
91 CHECK(!Heap::AllocateFixedArray(100, TENURED)->IsFailure());
92 CHECK(!Heap::CopyCode(Builtins::builtin(Builtins::Illegal))->IsFailure());