summaryrefslogtreecommitdiffstats
path: root/runtime/gc
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/gc
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/gc')
-rw-r--r--runtime/gc/collector/concurrent_copying.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/collector/concurrent_copying.cc b/runtime/gc/collector/concurrent_copying.cc
index 057eed1..dd45eca 100644
--- a/runtime/gc/collector/concurrent_copying.cc
+++ b/runtime/gc/collector/concurrent_copying.cc
@@ -206,7 +206,7 @@ class FlipCallback : public Closure {
}
cc->is_marking_ = true;
if (UNLIKELY(Runtime::Current()->IsActiveTransaction())) {
- CHECK(Runtime::Current()->IsCompiler());
+ CHECK(Runtime::Current()->IsAotCompiler());
TimingLogger::ScopedTiming split2("(Paused)VisitTransactionRoots", cc->GetTimings());
Runtime::Current()->VisitTransactionRoots(ConcurrentCopying::ProcessRootCallback, cc);
}