diff options
| author | 2019-06-02 16:45:03 +0100 | |
|---|---|---|
| committer | 2019-06-04 19:18:44 +0000 | |
| commit | 9164ff4462ab172314a54e3a2e1254e9034022e8 (patch) | |
| tree | baf466d3040c275be05597103d9055313131eee8 /compiler/optimizing/code_sinking.cc | |
| parent | 82d6472c8f042c717172478fb4682679bbcad5bf (diff) | |
ART: Avoid shared cache lines for JIT code allocations
Dual view JIT exhibits some hygiene issues that causes crashes on
devices with 32-bit kernels.
This change makes JIT code allocations cache aligned. This is based on
guidance in the v7_coherent_user_range() that says "it is assumed that
the Icache does not read data from the write buffer".
Bug: 132205399
Test: >2000 boot tests on affected device with no zygote crashes.
Test: No crashes running ART JIT benchmarks on go/lem
Test: No failures with Treehugger
Merged-In: I901e2e5c07b9502876b33f572be63ec1dca19cbe
Change-Id: I901e2e5c07b9502876b33f572be63ec1dca19cbe
Diffstat (limited to 'compiler/optimizing/code_sinking.cc')
0 files changed, 0 insertions, 0 deletions