commit | e95916dbbb6ff686458d15c590a566ed646fa0d2 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Fri Sep 16 14:41:46 2022 +0100 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Tue Sep 20 15:57:08 2022 +0000 |
tree | 86b7a9a290635f937d5921f4345131bc2fa26fa7 | |
parent | f8e08202df69967587ef6aa90bba23ac41eee90b [diff] |
Don't compile boot image if the process is not Zygote. For other processes, in-memory compilation is not useful and probably fails because they don't have the permission to invoke dex2oat. Also added a runtime option "-Xallowinmemorycompilation". This can be used by tests which are not Zygote but examines in-memory compilation. Bug: 247055146 Test: m test-art-host-gtest-art_dex2oat_tests Test: ArtGtestsTargetChroot Change-Id: I179885ffd528ca6836bcba5006eaac6255e7f6ec