• Home
  • Raw
  • Download

Lines Matching refs:jit_options

53   auto* jit_options = new JitOptions;  in CreateFromRuntimeArguments()  local
54 jit_options->use_jit_compilation_ = options.GetOrDefault(RuntimeArgumentMap::UseJitCompilation); in CreateFromRuntimeArguments()
56 jit_options->code_cache_initial_capacity_ = in CreateFromRuntimeArguments()
58 jit_options->code_cache_max_capacity_ = in CreateFromRuntimeArguments()
60 jit_options->dump_info_on_shutdown_ = in CreateFromRuntimeArguments()
62 jit_options->save_profiling_info_ = in CreateFromRuntimeArguments()
65 jit_options->compile_threshold_ = options.GetOrDefault(RuntimeArgumentMap::JITCompileThreshold); in CreateFromRuntimeArguments()
66 if (jit_options->compile_threshold_ > std::numeric_limits<uint16_t>::max()) { in CreateFromRuntimeArguments()
71 jit_options->warmup_threshold_ = *options.Get(RuntimeArgumentMap::JITWarmupThreshold); in CreateFromRuntimeArguments()
72 if (jit_options->warmup_threshold_ > std::numeric_limits<uint16_t>::max()) { in CreateFromRuntimeArguments()
76 jit_options->warmup_threshold_ = jit_options->compile_threshold_ / 2; in CreateFromRuntimeArguments()
80 jit_options->osr_threshold_ = *options.Get(RuntimeArgumentMap::JITOsrThreshold); in CreateFromRuntimeArguments()
81 if (jit_options->osr_threshold_ > std::numeric_limits<uint16_t>::max()) { in CreateFromRuntimeArguments()
85 jit_options->osr_threshold_ = jit_options->compile_threshold_ * 2; in CreateFromRuntimeArguments()
86 if (jit_options->osr_threshold_ > std::numeric_limits<uint16_t>::max()) { in CreateFromRuntimeArguments()
87 jit_options->osr_threshold_ = std::numeric_limits<uint16_t>::max(); in CreateFromRuntimeArguments()
92 jit_options->priority_thread_weight_ = in CreateFromRuntimeArguments()
94 if (jit_options->priority_thread_weight_ > jit_options->warmup_threshold_) { in CreateFromRuntimeArguments()
96 } else if (jit_options->priority_thread_weight_ == 0) { in CreateFromRuntimeArguments()
100 jit_options->priority_thread_weight_ = std::max( in CreateFromRuntimeArguments()
101 jit_options->warmup_threshold_ / Jit::kDefaultPriorityThreadWeightRatio, in CreateFromRuntimeArguments()
106 jit_options->invoke_transition_weight_ = in CreateFromRuntimeArguments()
108 if (jit_options->invoke_transition_weight_ > jit_options->warmup_threshold_) { in CreateFromRuntimeArguments()
110 } else if (jit_options->invoke_transition_weight_ == 0) { in CreateFromRuntimeArguments()
114 jit_options->invoke_transition_weight_ = std::max( in CreateFromRuntimeArguments()
115 jit_options->warmup_threshold_ / Jit::kDefaultInvokeTransitionWeightRatio, in CreateFromRuntimeArguments()
119 return jit_options; in CreateFromRuntimeArguments()