Lines Matching refs:InstrumentationLevel

720 Instrumentation::InstrumentationLevel Instrumentation::GetCurrentInstrumentationLevel() const {  in GetCurrentInstrumentationLevel()
722 return InstrumentationLevel::kInstrumentWithInterpreter; in GetCurrentInstrumentationLevel()
724 return InstrumentationLevel::kInstrumentWithInstrumentationStubs; in GetCurrentInstrumentationLevel()
726 return InstrumentationLevel::kInstrumentNothing; in GetCurrentInstrumentationLevel()
730 bool Instrumentation::RequiresInstrumentationInstallation(InstrumentationLevel new_level) const { in RequiresInstrumentationInstallation()
735 void Instrumentation::UpdateInstrumentationLevels(InstrumentationLevel level) { in UpdateInstrumentationLevels()
736 if (level == InstrumentationLevel::kInstrumentWithInterpreter) { in UpdateInstrumentationLevels()
741 if (p.second == InstrumentationLevel::kInstrumentWithInstrumentationStubs) { in UpdateInstrumentationLevels()
742 p.second = InstrumentationLevel::kInstrumentWithInterpreter; in UpdateInstrumentationLevels()
748 void Instrumentation::ConfigureStubs(const char* key, InstrumentationLevel desired_level) { in ConfigureStubs()
750 if (desired_level == InstrumentationLevel::kInstrumentNothing) { in ConfigureStubs()
765 UpdateInstrumentationLevels(InstrumentationLevel::kInstrumentWithInterpreter); in EnableSingleThreadDeopt()
771 InstrumentationLevel requested_level = InstrumentationLevel::kInstrumentNothing; in UpdateStubs()
777 requested_level != InstrumentationLevel::kInstrumentWithInstrumentationStubs) in UpdateStubs()
781 interpret_only_ = (requested_level == InstrumentationLevel::kInstrumentWithInterpreter) || in UpdateStubs()
792 if (requested_level > InstrumentationLevel::kInstrumentNothing) { in UpdateStubs()
793 if (requested_level == InstrumentationLevel::kInstrumentWithInterpreter) { in UpdateStubs()
797 CHECK_EQ(requested_level, InstrumentationLevel::kInstrumentWithInstrumentationStubs); in UpdateStubs()
1090 InstrumentationLevel level = GetCurrentInstrumentationLevel(); in DisableDeoptimization()
1091 if (level == InstrumentationLevel::kInstrumentWithInterpreter) { in DisableDeoptimization()
1120 ConfigureStubs(key, InstrumentationLevel::kInstrumentWithInterpreter); in DeoptimizeEverything()
1126 ConfigureStubs(key, InstrumentationLevel::kInstrumentNothing); in UndeoptimizeEverything()
1130 InstrumentationLevel level; in EnableMethodTracing()
1132 level = InstrumentationLevel::kInstrumentWithInterpreter; in EnableMethodTracing()
1134 level = InstrumentationLevel::kInstrumentWithInstrumentationStubs; in EnableMethodTracing()
1140 ConfigureStubs(key, InstrumentationLevel::kInstrumentNothing); in DisableMethodTracing()