Lines Matching refs:InstrumentationLevel
687 Instrumentation::InstrumentationLevel Instrumentation::GetCurrentInstrumentationLevel() const { in GetCurrentInstrumentationLevel()
689 return InstrumentationLevel::kInstrumentWithInterpreter; in GetCurrentInstrumentationLevel()
691 return InstrumentationLevel::kInstrumentWithInstrumentationStubs; in GetCurrentInstrumentationLevel()
693 return InstrumentationLevel::kInstrumentNothing; in GetCurrentInstrumentationLevel()
697 bool Instrumentation::RequiresInstrumentationInstallation(InstrumentationLevel new_level) const { in RequiresInstrumentationInstallation()
702 void Instrumentation::UpdateInstrumentationLevels(InstrumentationLevel level) { in UpdateInstrumentationLevels()
703 if (level == InstrumentationLevel::kInstrumentWithInterpreter) { in UpdateInstrumentationLevels()
708 if (p.second == InstrumentationLevel::kInstrumentWithInstrumentationStubs) { in UpdateInstrumentationLevels()
709 p.second = InstrumentationLevel::kInstrumentWithInterpreter; in UpdateInstrumentationLevels()
715 void Instrumentation::ConfigureStubs(const char* key, InstrumentationLevel desired_level) { in ConfigureStubs()
717 if (desired_level == InstrumentationLevel::kInstrumentNothing) { in ConfigureStubs()
732 UpdateInstrumentationLevels(InstrumentationLevel::kInstrumentWithInterpreter); in EnableSingleThreadDeopt()
738 InstrumentationLevel requested_level = InstrumentationLevel::kInstrumentNothing; in UpdateStubs()
744 requested_level != InstrumentationLevel::kInstrumentWithInstrumentationStubs) in UpdateStubs()
748 interpret_only_ = (requested_level == InstrumentationLevel::kInstrumentWithInterpreter) || in UpdateStubs()
759 if (requested_level > InstrumentationLevel::kInstrumentNothing) { in UpdateStubs()
760 if (requested_level == InstrumentationLevel::kInstrumentWithInterpreter) { in UpdateStubs()
764 CHECK_EQ(requested_level, InstrumentationLevel::kInstrumentWithInstrumentationStubs); in UpdateStubs()
1039 InstrumentationLevel level = GetCurrentInstrumentationLevel(); in DisableDeoptimization()
1040 if (level == InstrumentationLevel::kInstrumentWithInterpreter) { in DisableDeoptimization()
1069 ConfigureStubs(key, InstrumentationLevel::kInstrumentWithInterpreter); in DeoptimizeEverything()
1075 ConfigureStubs(key, InstrumentationLevel::kInstrumentNothing); in UndeoptimizeEverything()
1079 InstrumentationLevel level; in EnableMethodTracing()
1081 level = InstrumentationLevel::kInstrumentWithInterpreter; in EnableMethodTracing()
1083 level = InstrumentationLevel::kInstrumentWithInstrumentationStubs; in EnableMethodTracing()
1089 ConfigureStubs(key, InstrumentationLevel::kInstrumentNothing); in DisableMethodTracing()