summaryrefslogtreecommitdiff
path: root/runtime/runtime.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2017-01-18 22:52:26 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-01-18 22:52:26 +0000
commita7e64f00df89dfd984a8798548af46c7d0657511 (patch)
treefc87511672825a99a034c2955efd7cd38d16f283 /runtime/runtime.cc
parent5d61614eda1ec69d46584605b439c56b6f3fd5e0 (diff)
parent13093d455b8266338fd713b04261c58e9dc2b164 (diff)
Merge "ART: Start RuntimeCallbacks"
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r--runtime/runtime.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index 55e1852c0c..6ef5f26ce5 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -1100,6 +1100,7 @@ bool Runtime::Init(RuntimeArgumentMap&& runtime_options_in) {
if (runtime_options.Exists(Opt::JdwpOptions)) {
Dbg::ConfigureJdwp(runtime_options.GetOrDefault(Opt::JdwpOptions));
}
+ callbacks_.AddThreadLifecycleCallback(Dbg::GetThreadLifecycleCallback());
jit_options_.reset(jit::JitOptions::CreateFromRuntimeArguments(runtime_options));
if (IsAotCompiler()) {