Lines Matching refs:max_capacity
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()
105 oss << "Failed to create read write execute cache: " << error_str << " size=" << max_capacity; in Create()
114 code_map, data_map, code_size, data_size, max_capacity, garbage_collect_code); in Create()
121 size_t max_capacity, in JitCodeCache() argument
128 max_capacity_(max_capacity), in JitCodeCache()
145 DCHECK_GE(max_capacity, initial_code_capacity + initial_data_capacity); in JitCodeCache()