/art/test/2036-jni-filechannel/ |
D | jni_filechannel.cc | 24 jlong capacity = env->GetDirectBufferCapacity(buffer); in Java_Main_checkBufferCapacity() local 25 const char* status = (capacity == expectedCapacity) ? "PASS" : "FAIL"; in Java_Main_checkBufferCapacity() 27 << " got " << capacity in Java_Main_checkBufferCapacity()
|
/art/runtime/gc/space/ |
D | malloc_space.cc | 86 size_t* capacity) { in CreateMemMap() argument 97 if (*growth_limit > *capacity) { in CreateMemMap() 100 << PrettySize(*capacity) << ")"; in CreateMemMap() 106 *capacity = RoundUp(*capacity, kPageSize); in CreateMemMap() 110 *capacity, in CreateMemMap() 116 << PrettySize(*capacity) << ": " << error_msg; in CreateMemMap() 197 const size_t capacity = NonGrowthLimitCapacity() - size; in CreateZygoteSpace() local 209 VLOG(heap) << "Capacity " << PrettySize(capacity); in CreateZygoteSpace() 216 CreateAllocator(End(), starting_size_, initial_size_, capacity, low_memory_mode); in CreateZygoteSpace() 219 if (capacity > initial_size_) { in CreateZygoteSpace() [all …]
|
D | dlmalloc_space_static_test.cc | 29 size_t capacity) { in CreateDlMallocSpace() argument 31 name, initial_size, growth_limit, capacity, /*can_move_objects=*/ false); in CreateDlMallocSpace()
|
D | dlmalloc_space_random_test.cc | 29 size_t capacity) { in CreateDlMallocSpace() argument 31 name, initial_size, growth_limit, capacity, /*can_move_objects=*/ false); in CreateDlMallocSpace()
|
D | rosalloc_space_random_test.cc | 29 size_t capacity) { in CreateRosAllocSpace() argument 33 capacity, in CreateRosAllocSpace()
|
D | rosalloc_space_static_test.cc | 29 size_t capacity) { in CreateRosAllocSpace() argument 32 capacity, in CreateRosAllocSpace()
|
D | dlmalloc_space.cc | 69 size_t capacity, in CreateFromMemMap() argument 80 if (capacity - starting_size > 0) { in CreateFromMemMap() 81 CheckedCall(mprotect, name.c_str(), end, capacity - starting_size, PROT_NONE); in CreateFromMemMap() 94 begin + capacity, growth_limit, in CreateFromMemMap() 104 begin + capacity, in CreateFromMemMap() 114 size_t capacity, in Create() argument 122 << " capacity=" << PrettySize(capacity); in Create() 130 MemMap mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity); in Create() 133 << PrettySize(capacity); in Create() 141 capacity, in Create()
|
D | rosalloc_space.cc | 76 size_t capacity, in CreateFromMemMap() argument 86 capacity, in CreateFromMemMap() 96 if (capacity - starting_size > 0) { in CreateFromMemMap() 97 CheckedCall(mprotect, name.c_str(), end, capacity - starting_size, PROT_NONE); in CreateFromMemMap() 112 begin + capacity, in CreateFromMemMap() 124 begin + capacity, in CreateFromMemMap() 139 size_t capacity, in Create() argument 148 << " capacity=" << PrettySize(capacity); in Create() 156 MemMap mem_map = CreateMemMap(name, starting_size, &initial_size, &growth_limit, &capacity); in Create() 159 << PrettySize(capacity); in Create() [all …]
|
D | space.cc | 83 const size_t capacity = static_cast<size_t>(std::numeric_limits<uint32_t>::max()); in DiscontinuousSpace() local 84 live_bitmap_ = accounting::LargeObjectBitmap::Create("large live objects", nullptr, capacity); in DiscontinuousSpace() 86 mark_bitmap_ = accounting::LargeObjectBitmap::Create("large marked objects", nullptr, capacity); in DiscontinuousSpace()
|
D | bump_pointer_space.cc | 27 BumpPointerSpace* BumpPointerSpace::Create(const std::string& name, size_t capacity) { in Create() argument 28 capacity = RoundUp(capacity, kPageSize); in Create() 31 capacity, in Create() 37 << PrettySize(capacity) << " with message " << error_msg; in Create()
|
D | large_object_space_test.cc | 41 const size_t capacity = 128 * MB; in LargeObjectTest() local 45 los = space::FreeListSpace::Create("large object space", capacity); in LargeObjectTest() 51 CHECK_LE(static_cast<uintptr_t>(los->GetLiveBitmap()->HeapBegin() + capacity), in LargeObjectTest()
|
D | space_test.h | 129 size_t capacity); 327 size_t capacity = 16 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() local 328 MallocSpace* space(create_space("test", initial_size, growth_limit, capacity)); in SizeFootPrintGrowthLimitAndTrimDriver() 333 EXPECT_EQ(space->NonGrowthLimitCapacity(), capacity); in SizeFootPrintGrowthLimitAndTrimDriver() 344 EXPECT_EQ(space->Capacity(), capacity); in SizeFootPrintGrowthLimitAndTrimDriver() 345 SizeFootPrintGrowthLimitAndTrimBody(space, object_size, 3, capacity); in SizeFootPrintGrowthLimitAndTrimDriver()
|
D | dlmalloc_space.h | 42 size_t capacity, 52 size_t capacity,
|
D | rosalloc_space.h | 44 size_t capacity, 52 size_t capacity,
|
D | region_space.cc | 51 size_t capacity, in CreateMemMap() argument 53 CHECK_ALIGNED(capacity, kRegionSize); in CreateMemMap() 61 capacity + kRegionSize, in CreateMemMap() 75 << PrettySize(capacity) << " with message " << error_msg; in CreateMemMap() 80 CHECK_EQ(mem_map.Size(), capacity + kRegionSize); in CreateMemMap() 86 mem_map.SetSize(capacity); in CreateMemMap() 93 CHECK_EQ(mem_map.Size(), capacity); in CreateMemMap()
|
D | space_create_test.cc | 37 size_t capacity) { in CreateSpace() argument 43 capacity, in CreateSpace() 50 capacity, in CreateSpace()
|
/art/test/979-const-method-handle/ |
D | expected.txt | 16 Stack: capacity was 10 17 Stack: capacity is 2
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 60 const size_t capacity = max_capacity_; in Initialize() local 61 const size_t data_capacity = capacity / kCodeAndDataCapacityDivider; in Initialize() 62 const size_t exec_capacity = capacity - data_capacity; in Initialize() 70 mem_fd = unique_fd(CreateZygoteMemory(capacity, error_msg)); in Initialize() 87 } else if (ftruncate(mem_fd, capacity) != 0) { in Initialize() 170 oss << "Failed to create read write cache: " << error_str << " size=" << capacity; in Initialize() 192 oss << "Failed to create read execute code cache: " << error_str << " size=" << capacity; in Initialize() 506 int JitMemoryRegion::CreateZygoteMemory(size_t capacity, std::string* error_msg) { in CreateZygoteMemory() argument 524 if (ftruncate(fd, capacity) != 0) { in CreateZygoteMemory() 537 PaletteStatus status = PaletteAshmemCreateRegion(kRegionName, capacity, &fd); in CreateZygoteMemory() [all …]
|
D | jit.cc | 648 uint64_t capacity = page_end - page_start; in NotifyZygoteCompilationDone() local 649 memcpy(zygote_mapping_methods_.Begin() + offset, page_start, capacity); in NotifyZygoteCompilationDone() 650 offset += capacity; in NotifyZygoteCompilationDone() 707 uint64_t capacity = page_end - page_start; in NotifyZygoteCompilationDone() local 708 if (memcmp(child_mapping_methods.Begin() + offset, page_start, capacity) != 0) { in NotifyZygoteCompilationDone() 714 offset += capacity; in NotifyZygoteCompilationDone() 735 uint64_t capacity = page_end - page_start; in NotifyZygoteCompilationDone() local 737 capacity, in NotifyZygoteCompilationDone() 738 capacity, in NotifyZygoteCompilationDone() 745 offset += capacity; in NotifyZygoteCompilationDone() [all …]
|
/art/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 256 capacity(reserve) { 261 allocator.deallocate(data, capacity); 262 capacity = 0; 272 capacity = 0; 278 CHECK_GT(new_capacity, capacity); 287 allocator.deallocate(old, capacity); 288 capacity = new_capacity; 292 if (size == capacity) { 293 size_t new_capacity = 2 * capacity + 1; 302 size_t capacity;
|
/art/runtime/gc/accounting/ |
D | card_table.cc | 64 size_t capacity = heap_capacity / kCardSize; in Create() local 68 capacity + 256, in Create()
|
D | read_barrier_table.h | 38 size_t capacity = static_cast<size_t>(kHeapCapacity / kRegionSize); in ReadBarrierTable() local 43 capacity, in ReadBarrierTable()
|
D | atomic_stack.h | 66 static AtomicStack* Create(const std::string& name, size_t growth_limit, size_t capacity) { in Create() argument 67 std::unique_ptr<AtomicStack> mark_stack(new AtomicStack(name, growth_limit, capacity)); in Create() 224 AtomicStack(const std::string& name, size_t growth_limit, size_t capacity) in AtomicStack() argument 230 capacity_(capacity), in AtomicStack()
|
/art/compiler/utils/ |
D | assembler.h | 276 static uint8_t* ComputeLimit(uint8_t* data, size_t capacity) { in ComputeLimit() argument 277 return data + capacity - kMinimumGap; in ComputeLimit() 339 void ReserveCFIStream(size_t capacity) { in ReserveCFIStream() argument 340 opcodes_.reserve(capacity); in ReserveCFIStream()
|
/art/test/979-const-method-handle/src/ |
D | Main.java | 243 System.out.println("Stack: capacity was " + stack.capacity()); in main() 245 System.out.println("Stack: capacity is " + stack.capacity()); in main()
|