summaryrefslogtreecommitdiffstats
path: root/runtime/jdwp
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-03-05 13:20:54 -0800
committerMathieu Chartier <mathieuc@google.com>2015-03-05 13:25:51 -0800
commit184c9dc3bfc500134fdb2fbea0a7fab290c0abb0 (patch)
tree753a040fa1ef43651dd36fc4dfeb9377dc88e481 /runtime/jdwp
parent66b26662ad0c52c648c9b5ea4a99149091e842b4 (diff)
downloadart-184c9dc3bfc500134fdb2fbea0a7fab290c0abb0.zip
art-184c9dc3bfc500134fdb2fbea0a7fab290c0abb0.tar.gz
art-184c9dc3bfc500134fdb2fbea0a7fab290c0abb0.tar.bz2
Fix some incorrect IsCompiler instead of IsAotCompiler
Fixes jdwp related issues (DDMS) when JIT is enabled. Bug: 19623297 Change-Id: I36139c70a97b529135febcf01b227e7ab9affacc
Diffstat (limited to 'runtime/jdwp')
-rw-r--r--runtime/jdwp/jdwp_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jdwp/jdwp_main.cc b/runtime/jdwp/jdwp_main.cc
index b6fedd9..3d69796 100644
--- a/runtime/jdwp/jdwp_main.cc
+++ b/runtime/jdwp/jdwp_main.cc
@@ -408,7 +408,7 @@ static void* StartJdwpThread(void* arg) {
void JdwpState::Run() {
Runtime* runtime = Runtime::Current();
CHECK(runtime->AttachCurrentThread("JDWP", true, runtime->GetSystemThreadGroup(),
- !runtime->IsCompiler()));
+ !runtime->IsAotCompiler()));
VLOG(jdwp) << "JDWP: thread running";