summaryrefslogtreecommitdiff
path: root/runtime/monitor_android.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/monitor_android.cc')
-rw-r--r--runtime/monitor_android.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/monitor_android.cc b/runtime/monitor_android.cc
index 9265cd649d..8efa0721e8 100644
--- a/runtime/monitor_android.cc
+++ b/runtime/monitor_android.cc
@@ -78,7 +78,7 @@ void Monitor::LogContentionEvent(Thread* self, uint32_t wait_ms, uint32_t sample
// Emit the source code file name, <= 37 bytes.
uint32_t pc;
- mirror::AbstractMethod* m = self->GetCurrentMethod(&pc);
+ mirror::ArtMethod* m = self->GetCurrentMethod(&pc);
const char* filename;
uint32_t line_number;
TranslateLocation(m, pc, filename, line_number);