Home | History | Annotate | Download | only in jit

Lines Matching defs:osr

272 bool Jit::CompileMethod(ArtMethod* method, Thread* self, bool osr) {
292 if (!code_cache_->NotifyCompilationOf(method_to_compile, self, osr)) {
298 << " osr=" << std::boolalpha << osr;
299 bool success = jit_compile_method_(jit_compiler_handle_, method_to_compile, self, osr);
300 code_cache_->DoneCompiling(method_to_compile, self, osr);
304 << " osr=" << std::boolalpha << osr;
447 // Don't attempt to do an OSR if we are close to the stack limit. Since
448 // the interpreter frames are still on stack, OSR has the potential
459 // osr into it.
464 // Fetch some data before looking up for an OSR method. We don't want thread
465 // suspension once we hold an OSR method, as the JIT code cache could delete the OSR
476 ScopedAssertNoThreadSuspension sts("Holding OSR method");
479 // No osr method yet, just return to the interpreter.
489 // There is no OSR stack map for this dex pc offset. Just return to the interpreter in the
495 // interpreter to OSR while e.g. single stepping. Note that we could selectively disable
496 // OSR when single stepping, but that's currently hard to know at this point.
508 // Allocate memory to put shadow frame values. The osr stub will copy that memory to
511 // but that is engineering complexity not worth the effort for something like OSR.
575 VLOG(jit) << "Done running OSR code for " << method_name;
613 Runtime::Current()->GetJit()->CompileMethod(method_, self, /* osr */ false);
615 Runtime::Current()->GetJit()->CompileMethod(method_, self, /* osr */ true);