Lines Matching refs:options

54 JitOptions* JitOptions::CreateFromRuntimeArguments(const RuntimeArgumentMap& options) {  in CreateFromRuntimeArguments()  argument
56 jit_options->use_jit_compilation_ = options.GetOrDefault(RuntimeArgumentMap::UseJitCompilation); in CreateFromRuntimeArguments()
59 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheInitialCapacity); in CreateFromRuntimeArguments()
61 options.GetOrDefault(RuntimeArgumentMap::JITCodeCacheMaxCapacity); in CreateFromRuntimeArguments()
63 options.Exists(RuntimeArgumentMap::DumpJITInfoOnShutdown); in CreateFromRuntimeArguments()
65 options.GetOrDefault(RuntimeArgumentMap::ProfileSaverOpts); in CreateFromRuntimeArguments()
67 jit_options->compile_threshold_ = options.GetOrDefault(RuntimeArgumentMap::JITCompileThreshold); in CreateFromRuntimeArguments()
72 if (options.Exists(RuntimeArgumentMap::JITWarmupThreshold)) { in CreateFromRuntimeArguments()
73 jit_options->warmup_threshold_ = *options.Get(RuntimeArgumentMap::JITWarmupThreshold); in CreateFromRuntimeArguments()
81 if (options.Exists(RuntimeArgumentMap::JITOsrThreshold)) { in CreateFromRuntimeArguments()
82 jit_options->osr_threshold_ = *options.Get(RuntimeArgumentMap::JITOsrThreshold); in CreateFromRuntimeArguments()
93 if (options.Exists(RuntimeArgumentMap::JITPriorityThreadWeight)) { in CreateFromRuntimeArguments()
95 *options.Get(RuntimeArgumentMap::JITPriorityThreadWeight); in CreateFromRuntimeArguments()
107 if (options.Exists(RuntimeArgumentMap::JITInvokeTransitionWeight)) { in CreateFromRuntimeArguments()
109 *options.Get(RuntimeArgumentMap::JITInvokeTransitionWeight); in CreateFromRuntimeArguments()
156 Jit* Jit::Create(JitOptions* options, std::string* error_msg) { in Create() argument
157 DCHECK(options->UseJitCompilation() || options->GetProfileSaverOptions().IsEnabled()); in Create()
159 jit->dump_info_on_shutdown_ = options->DumpJitInfoOnShutdown(); in Create()
164 options->GetCodeCacheInitialCapacity(), in Create()
165 options->GetCodeCacheMaxCapacity(), in Create()
171 jit->use_jit_compilation_ = options->UseJitCompilation(); in Create()
172 jit->profile_saver_options_ = options->GetProfileSaverOptions(); in Create()
174 << PrettySize(options->GetCodeCacheInitialCapacity()) in Create()
175 << ", max_capacity=" << PrettySize(options->GetCodeCacheMaxCapacity()) in Create()
176 << ", compile_threshold=" << options->GetCompileThreshold() in Create()
177 << ", profile_saver_options=" << options->GetProfileSaverOptions(); in Create()
180 jit->hot_method_threshold_ = options->GetCompileThreshold(); in Create()
181 jit->warm_method_threshold_ = options->GetWarmupThreshold(); in Create()
182 jit->osr_method_threshold_ = options->GetOsrThreshold(); in Create()
183 jit->priority_thread_weight_ = options->GetPriorityThreadWeight(); in Create()
184 jit->invoke_transition_weight_ = options->GetInvokeTransitionWeight(); in Create()