summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_switch_impl.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-04-14 15:00:33 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2016-04-15 15:42:31 +0100
commit71cd50fb67fa48667b0ab59aa436a582c04ba43d (patch)
tree9f99f187060b0ef3a118120db367555d8f757f0c /runtime/interpreter/interpreter_switch_impl.cc
parent9b863613454ee139370d24e65adb41fabe75d482 (diff)
Add weight to compiled/interpreter transitions.
Also: - Cleanup logging. - Check ArtMethod status before adding compilation requests. - Don't request osr compilation if we know AddSamples does not come from a back edge. Bug: 27865109 Change-Id: I84512f7d957b61ce2458360ed430adb151830278
Diffstat (limited to 'runtime/interpreter/interpreter_switch_impl.cc')
-rw-r--r--runtime/interpreter/interpreter_switch_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter_switch_impl.cc b/runtime/interpreter/interpreter_switch_impl.cc
index ca1d635d51..4323d4f425 100644
--- a/runtime/interpreter/interpreter_switch_impl.cc
+++ b/runtime/interpreter/interpreter_switch_impl.cc
@@ -89,7 +89,7 @@ namespace interpreter {
#define HOTNESS_UPDATE() \
do { \
if (jit != nullptr) { \
- jit->AddSamples(self, method, 1); \
+ jit->AddSamples(self, method, 1, /*with_backedges*/ true); \
} \
} while (false)