summaryrefslogtreecommitdiff
path: root/compiler/optimizing/inliner.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2019-06-19 10:00:00 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2019-06-26 12:24:15 +0000
commit05f87217ddc9b4b9186710c0135b918f456c5aef (patch)
tree6e7bc0d2a3d8faa94c303d7d753319f3850fadcd /compiler/optimizing/inliner.cc
parent8d335b61d637fa9b040eb9d559dbac98067467f1 (diff)
Make the JIT zygote memory shared.
Test: boots Bug: 119800099 Change-Id: I75ff8a58eea4de5cb833139641b4e15b8394d9b1
Diffstat (limited to 'compiler/optimizing/inliner.cc')
-rw-r--r--compiler/optimizing/inliner.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index 9ef5ec31d1..15155751a7 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -1814,7 +1814,8 @@ bool HInliner::TryBuildAndInlineHelper(HInvoke* invoke_instruction,
callee_dead_reference_safe,
graph_->IsDebuggable(),
/* osr= */ false,
- caller_instruction_counter);
+ /* is_shared_jit_code= */ graph_->IsCompilingForSharedJitCode(),
+ /* start_instruction_id= */ caller_instruction_counter);
callee_graph->SetArtMethod(resolved_method);
// When they are needed, allocate `inline_stats_` on the Arena instead