diff options
author | 2022-01-28 10:46:50 +0000 | |
---|---|---|
committer | 2022-01-31 16:25:47 +0000 | |
commit | 6740fccc2dcbd868d2144b206806a880ae486ca8 (patch) | |
tree | 21b22c53af2fcd0ef41d7d31acc67782642b7715 /compiler/optimizing/instruction_builder.cc | |
parent | 6454968f07511897f2ab85db14dc729c6b3788c5 (diff) |
Don't do force-compile in CompOS mode
This was originally done to ensure that CompOS didn't reuse old
untrusted artifacts. But that won't happen - CompOS always runs with
the output directory initially empty; authfs doesn't provide a
mechanism to have a writable directory with untrusted files in it
(b/203630168).
And it is harmful - e.g. if ART has not been updated the force-compile
will generate a boot.art, which will then be deleted on reboot, and as
a consequence the other artifacts won't be loaded into system server
etc.
Bug: 211458160
Test: atest OdrefreshHostTest#verifyCompilationOsMode
Test: manual
Change-Id: I888e4b13dd29e298f6635569d5f06d36bc672fc8
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions