Home
last modified time | relevance | path

Searched refs:max_capacity (Results 1 – 5 of 5) sorted by relevance

/art/runtime/jit/
Djit_memory_region.cc45 size_t max_capacity, in Initialize() argument
51 CHECK_GE(max_capacity, initial_capacity); in Initialize()
52 CHECK(max_capacity <= 1 * GB) << "The max supported size for JIT code cache is 1GB"; in Initialize()
55 max_capacity_ = RoundDown(max_capacity, 2 * kPageSize); in Initialize()
69 current_capacity_ = max_capacity; in Initialize()
Djit_memory_region.h69 size_t max_capacity,
Djit_code_cache.cc223 size_t max_capacity = Runtime::Current()->GetJITOptions()->GetCodeCacheMaxCapacity(); in Create() local
227 if (max_capacity > 1 * GB) { in Create()
230 << PrettySize(max_capacity) << " is too big"; in Create()
238 max_capacity, in Create()
257 << PrettySize(max_capacity); in Create()
1970 size_t max_capacity = Runtime::Current()->GetJITOptions()->GetCodeCacheMaxCapacity(); in PostForkChildAction() local
1973 max_capacity, in PostForkChildAction()
/art/runtime/gc/allocator/
Drosalloc.cc56 RosAlloc::RosAlloc(void* base, size_t capacity, size_t max_capacity, in RosAlloc() argument
60 capacity_(capacity), max_capacity_(max_capacity), in RosAlloc()
68 DCHECK_EQ(RoundUp(max_capacity, kPageSize), max_capacity); in RosAlloc()
69 CHECK_LE(capacity, max_capacity); in RosAlloc()
73 memset(base_, 0, max_capacity); in RosAlloc()
75 CHECK_EQ(madvise(base_, max_capacity, MADV_DONTNEED), 0); in RosAlloc()
Drosalloc.h828 RosAlloc(void* base, size_t capacity, size_t max_capacity,