summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-03-17 13:48:29 -0700
committerMathieu Chartier <mathieuc@google.com>2015-03-18 18:49:28 -0700
commit455f67c4cf0b4f04e117db3024fd189fa1c7dab9 (patch)
tree3f89fdc8ba9b31cc0205945410a75d63e2f25000 /runtime/runtime.h
parent5747266d57445ecdd026a4705d62768faad09b01 (diff)
downloadart-455f67c4cf0b4f04e117db3024fd189fa1c7dab9.tar.gz
art-455f67c4cf0b4f04e117db3024fd189fa1c7dab9.tar.bz2
art-455f67c4cf0b4f04e117db3024fd189fa1c7dab9.zip
Fix JIT options with late init
Previously we couldn't create the JIT since we didn't have any JITOptions. Bug: 19735273 Change-Id: I24b8ed131ed8b18f75ec94291e135d8a1c089ebd
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 3cf22bf269..7f335474bb 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -540,6 +540,7 @@ class Runtime {
return zygote_max_failed_boots_;
}
+ // Create the JIT and instrumentation and code cache.
void CreateJit();
ArenaPool* GetArenaPool() {
@@ -549,6 +550,10 @@ class Runtime {
return arena_pool_.get();
}
+ jit::JitOptions* GetJITOptions() {
+ return jit_options_.get();
+ }
+
private:
static void InitPlatformSignalHandlers();