summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/interpreter/mterp/nterp.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/interpreter/mterp/nterp.cc b/runtime/interpreter/mterp/nterp.cc
index 827df1b971..b929444fc6 100644
--- a/runtime/interpreter/mterp/nterp.cc
+++ b/runtime/interpreter/mterp/nterp.cc
@@ -119,11 +119,7 @@ void CheckNterpAsmConstants() {
inline void UpdateHotness(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_) {
// The hotness we will add to a method when we perform a
// field/method/class/string lookup.
- Runtime* runtime = Runtime::Current();
- bool increase_hotness_for_ui = runtime->GetStartupCompleted() &&
- runtime->InJankPerceptibleProcessState() &&
- Thread::Current()->IsJitSensitiveThread();
- method->UpdateCounter(increase_hotness_for_ui ? 0x6ff : 0xf);
+ method->UpdateCounter(0xf);
}
template<typename T>