Lines Matching full:heap
37 #include "heap.h"
215 return Heap::InSpace(heap_obj, space);
220 // here are guaranteed to be in the heap. Hence, it is safe to infer
222 // Note: calling Heap::InSpace(heap_obj, LO_SPACE) is too slow for our
227 if (Heap::InSpace(heap_obj, static_cast<AllocationSpace>(sp))) {
231 SLOW_ASSERT(Heap::InSpace(heap_obj, LO_SPACE));
971 // The heap must have grown and we have more objects than capacity to store
1077 // Counts the number of objects in the heap.
1080 // Iterate over all the heap spaces and count the number of objects.
1090 // Captures a current snapshot of all objects in the heap.
1094 // Count the number of objects in the heap.
1115 // Iterate over all the heap spaces and add the objects.
1621 return Heap::undefined_value();
1627 // Make a heap object pointer from the address.
1778 Heap::IterateStrongRoots(&lol_visitor, VISIT_ALL);
1798 Heap::IterateWeakRoots(&lol_visitor, VISIT_ALL);
1911 if (heap_obj == Heap::undefined_value()) {
1956 return Heap::undefined_value();
1997 return Heap::undefined_value();
2147 Heap::IterateRoots(&tracer, VISIT_ONLY_STRONG);
2152 SymbolTable* symbol_table = Heap::raw_unchecked_symbol_table();
2201 return Heap::undefined_value();
2214 if (obj1 == Heap::undefined_value()) {
2220 if (obj2 == Heap::undefined_value()) {
2337 // in the oldGen heap may be kept as ByteArray objects in a free list.
2459 // Iterate over all objects in the heap and check for:
2460 // 1. object in LOL but not in heap i.e. error.
2461 // 2. object in heap but not in LOL (possibly not an error). Usually
2462 // just means that we don't have the a capture of the latest heap.
2499 OS::Print("heap object %p NOT in lol database\n", heap_obj);
2510 // Reporting lol objects not found in the heap.
2516 OS::Print("lol database object [%d of %d] %p NOT in heap\n",
2526 OS::Print("number of heap objects .......... %d\n", number_of_heap_objects);
2528 OS::Print("number NOT in heap .............. %d\n", number_not_in_heap);
2533 "NOT all lol database objects match heap objects.\n");
2536 OS::Print(" *** ERROR: %d lol database objects not found in heap.\n",
2541 OS::Print(" *** ERROR: %d heap objects NOT found in lol database.\n",
2577 if (Heap::InFromSpace(heap_obj)) {
2579 i++, heap_obj, Heap::new_space()->FromSpaceLow());