summaryrefslogtreecommitdiffstats
path: root/vm/Profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm/Profile.c')
-rw-r--r--vm/Profile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/Profile.c b/vm/Profile.c
index dcfad71fe..b079988a0 100644
--- a/vm/Profile.c
+++ b/vm/Profile.c
@@ -230,6 +230,9 @@ static void updateActiveProfilers(int count)
} while (!ATOMIC_CMP_SWAP(&gDvm.activeProfilers, oldValue, newValue));
LOGD("+++ active profiler count now %d\n", newValue);
+#if defined(WITH_JIT)
+ dvmCompilerStateRefresh();
+#endif
}