/external/skia/src/gpu/vk/ |
GrVkMemory.cpp | 14 // for simple tracking of how much we're using in each heap 38 static GrVkGpu::Heap buffer_type_to_heap(GrVkBuffer::Type type) { 39 const GrVkGpu::Heap kBufferToHeap[]{ 100 GrVkHeap* heap = gpu->getHeap(buffer_type_to_heap(type)); local 102 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { 107 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { 117 SkASSERT_RELEASE(heap->free(*alloc)); 127 GrVkHeap* heap = gpu->getHeap(buffer_type_to_heap(type)); local 128 SkASSERT_RELEASE(heap->free(alloc)); 154 GrVkHeap* heap; local 219 GrVkHeap* heap; local [all...] |
/external/v8/src/builtins/ |
builtins-conversion.cc | 467 Heap::kEmptyFixedArrayRootIndex); 469 Heap::kEmptyFixedArrayRootIndex);
|
builtins-function.cc | 221 if (!attributes.IsJust()) return isolate->heap()->exception(); 325 assembler.LoadRoot(Heap::klength_stringRootIndex)), 339 assembler.LoadRoot(Heap::kname_stringRootIndex)),
|
/external/v8/src/heap/ |
object-stats.cc | 5 #include "src/heap/object-stats.h" 10 #include "src/heap/heap-inl.h" 81 int gc_count = heap()->gc_count(); 139 int gc_count = heap()->gc_count(); 239 Isolate* ObjectStats::isolate() { return heap()->isolate(); } 329 static bool CanRecordFixedArray(Heap* heap, FixedArrayBase* array) { 331 array->map() != heap->fixed_double_array_map() && 332 array != heap->empty_fixed_array() & [all...] |
/external/v8/src/ |
string-stream.cc | 414 Heap* heap = isolate->heap(); local 415 if (!heap->Contains(obj)) return; 418 !heap->Contains(map) || 427 heap->Contains(HeapObject::cast(perhaps_context)) && 430 if (!heap->Contains(context)) { 431 Add("(Function context is outside heap)\n"); 447 Add("/* warning: 'function' was not a heap object */ "); 450 Heap* heap = HeapObject::cast(f)->GetHeap() local [all...] |
property-descriptor.cc | 85 Heap* heap = isolate->heap(); local 86 if (key == heap->enumerable_string()) { 88 } else if (key == heap->configurable_string()) { 90 } else if (key == heap->value_string()) { 92 } else if (key == heap->writable_string()) { 94 } else if (key == heap->get_string()) { 98 } else if (key == heap->set_string()) { 138 isolate->heap()->ToBoolean(enumerable())) [all...] |
globals.h | 453 class Heap; 492 typedef bool (*WeakSlotCallbackWithHeap)(Heap* heap, Object** pointer); 691 typedef void (*StoreBufferCallback)(Heap* heap, 1026 // An indexed slot in a heap context. index() is the variable index in 1027 // the context object on the heap, starting at 0. scope() is the 1031 // A named slot in a heap context. name() is the variable name in the 1032 // context object on the heap, with lookup starting at the current [all...] |
global-handles.cc | 527 isolate()->heap()->CallGCPrologueCallbacks( 530 isolate()->heap()->CallGCEpilogueCallbacks( 571 if (isolate_->heap()->InNewSpace(value) && 674 f(isolate_->heap(), node->location())) { 718 is_unscavenged(isolate_->heap(), node->location())) { 778 if (!can_skip(isolate_->heap(), &object)) { 994 if (isolate_->heap()->InNewSpace(node->object())) { 996 isolate_->heap()->IncrementNodesCopiedInNewSpace(); 999 isolate_->heap()->IncrementNodesPromoted(); 1003 isolate_->heap()->IncrementNodesDiedInNewSpace() [all...] |
isolate.h | 22 #include "src/heap/heap.h" 129 return __isolate__->heap()->exception(); \ 146 __isolate__->heap()->exception()); \ 176 __isolate__->heap()->exception()); \ 856 Heap* heap() { return &heap_; } function in class:v8::internal::Isolate [all...] |
/external/v8/src/s390/ |
macro-assembler-s390.cc | 30 Handle<Object>::New(isolate()->heap()->undefined_value(), isolate()); 240 void MacroAssembler::LoadRoot(Register destination, Heap::RootListIndex index, 245 void MacroAssembler::StoreRoot(Register source, Heap::RootListIndex index, 247 DCHECK(Heap::RootCanBeWrittenAfterInitialization(index)); 298 // register 'object' contains a heap object pointer. 363 // register 'object' contains a heap object pointer. The heap object [all...] |
codegen-s390.cc | 114 __ CompareRoot(result, Heap::kempty_stringRootIndex);
|
/external/swiftshader/third_party/subzero/src/DartARM32/ |
assembler_arm.cc | [all...] |
/external/v8/src/asmjs/ |
asm-types.h | 30 V(Heap, "[]", 1, 0) \ 46 /* Types used for expressing the Heap accesses. */ \ 332 // element types for the heap view types. 335 // Returns the element size if this is a heap type. Otherwise returns 338 // Returns the load type if this is a heap type. AsmType::None is returned if 339 // this is not a heap type. 341 // Returns the store type if this is a heap type. AsmType::None is returned if 342 // this is not a heap type.
|
/external/v8/src/ppc/ |
codegen-ppc.cc | 119 __ CompareRoot(result, Heap::kempty_stringRootIndex);
|
/external/v8/src/profiler/ |
allocation-tracker.cc | 9 #include "src/profiler/heap-snapshot-generator-inl.h" 223 Heap* heap = ids_->heap(); local 225 // Mark the new block as FreeSpace to make sure the heap is iterable 227 heap->CreateFillerObjectAt(addr, size, ClearRecordedSlots::kNo); 229 Isolate* isolate = heap->isolate(); 275 // Converting start offset into line and column may cause heap
|
/external/v8/src/x64/ |
codegen-x64.cc | 109 Heap::kempty_stringRootIndex);
|
/system/core/libmemunreachable/tests/ |
ThreadCapture_test.cpp | 50 virtual void TearDown() { ASSERT_TRUE(heap.empty()); } 98 Heap heap; member in class:android::ThreadListTest 102 auto tids = TidList{heap}; 103 ThreadCapture thread_capture{getpid(), heap}; 127 ThreadCapture thread_capture(getpid(), heap); local 129 auto expected_tids = allocator::vector<pid_t>(1, getpid(), heap); 130 auto list_tids = allocator::vector<pid_t>(heap); 148 auto list_tids = allocator::vector<pid_t>(heap); 153 ThreadCapture thread_capture(getpid(), heap); local [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
Ip6ConfigImpl.c | 452 CHAR8 *Heap;
472 Heap = (CHAR8 *) Variable + VarSize;
480 Heap -= DataItem->DataSize;
481 CopyMem (Heap, DataItem->Data.Ptr, DataItem->DataSize);
486 DataRecord->Offset = (UINT16) (Heap - (CHAR8 *) Variable);
[all...] |
/external/v8/src/mips64/ |
macro-assembler-mips64.cc | 40 Handle<Object>::New(isolate()->heap()->undefined_value(), isolate()); 86 Heap::RootListIndex index) { 92 Heap::RootListIndex index, 101 Heap::RootListIndex index) { 102 DCHECK(Heap::RootCanBeWrittenAfterInitialization(index)); 108 Heap::RootListIndex index, 111 DCHECK(Heap::RootCanBeWrittenAfterInitialization(index)); 208 // The register 'object' contains a heap object pointer. The heap object 338 // The register 'object' contains a heap object pointer. The heap objec [all...] |
/art/runtime/gc/collector/ |
concurrent_copying.h | 68 explicit ConcurrentCopying(Heap* heap, 287 // A cache of Heap::GetMarkBitmap().
|
/art/runtime/gc/space/ |
dlmalloc_space.cc | 22 #include "gc/heap.h" 82 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { 106 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { 117 // morecore_start. Don't use an internal dlmalloc lock (as we already hold heap lock). When 121 // Do not allow morecore requests to succeed beyond the initial size of the heap 172 CHECK(Contains(ptr)) << "Free (" << ptr << ") not in bounds of heap " << *this; 209 LOG(ERROR) << "FreeList[" << i << "] (" << ptrs[i] << ") not in bounds of heap " << *this; 254 VLOG(heap) << "DlMallocSpace::SetFootprintLimit " << PrettySize(new_size); 255 // Compare against the actual footprint, rather than the Size(), because the heap may not have 325 Heap* heap = runtime->GetHeap() local [all...] |
space_create_test.cc | 97 // Make space findable to the heap, will also delete space when runtime is cleaned up 171 gc::Heap* heap = Runtime::Current()->GetHeap(); local 176 heap->RemoveSpace(old_space); 178 heap->RevokeAllThreadLocalBuffers(); 180 heap->IsLowMemoryMode(), 186 // Make space findable to the heap, will also delete space when runtime is cleaned up 233 // Make space findable to the heap, will also delete space when runtime is cleaned up 307 // Make space findable to the heap, will also delete space when runtime is cleaned up
|
space_test.h | 43 Heap* heap = Runtime::Current()->GetHeap(); local 45 heap->RevokeAllThreadLocalBuffers(); 50 heap->AddSpace(space); 52 heap->SetSpaceAsDefault(space); 112 // Like the proper heap object allocation, install and verify 334 // Make space findable to the heap, will also delete space when runtime is cleaned up
|
/art/runtime/generated/ |
asm_support_gen.h | 88 DEFINE_CHECK_EQ(static_cast<size_t>(MIN_LARGE_OBJECT_THRESHOLD), (static_cast<size_t>(art::gc::Heap::kMinLargeObjectThreshold)))
|
/art/runtime/mirror/ |
object_array-inl.h | 28 #include "gc/heap.h" 354 gc::Heap* heap = Runtime::Current()->GetHeap(); local 355 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : 356 heap->GetCurrentNonMovingAllocator();
|