Searched refs:max_capacity (Results 1 – 4 of 4) sorted by relevance
/art/runtime/jit/ |
D | jit_code_cache.cc | 56 size_t max_capacity, in Create() argument 60 CHECK_GE(max_capacity, initial_capacity); in Create() 71 if (max_capacity > 1 * GB) { in Create() 74 << PrettySize(max_capacity) << " is too big"; in Create() 82 "data-code-cache", nullptr, max_capacity, kProtAll, false, false, &error_str, use_ashmem); in Create() 85 oss << "Failed to create read write execute cache: " << error_str << " size=" << max_capacity; in Create() 92 max_capacity = RoundDown(max_capacity, 2 * kPageSize); in Create() 96 size_t data_size = max_capacity / 2; in Create() 97 size_t code_size = max_capacity - data_size; in Create() 98 DCHECK_EQ(code_size + data_size, max_capacity); in Create() [all …]
|
D | jit_code_cache.h | 62 size_t max_capacity, 198 size_t max_capacity,
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 51 RosAlloc::RosAlloc(void* base, size_t capacity, size_t max_capacity, in RosAlloc() argument 55 capacity_(capacity), max_capacity_(max_capacity), in RosAlloc() 63 DCHECK_EQ(RoundUp(max_capacity, kPageSize), max_capacity); in RosAlloc() 64 CHECK_LE(capacity, max_capacity); in RosAlloc() 68 memset(base_, 0, max_capacity); in RosAlloc() 70 CHECK_EQ(madvise(base_, max_capacity, MADV_DONTNEED), 0); in RosAlloc()
|
D | rosalloc.h | 824 RosAlloc(void* base, size_t capacity, size_t max_capacity,
|