Commit 9164ff44 authored by Orion Hodson's avatar Orion Hodson Committed by Nicolas Geoffray
Browse files

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
parent 82d6472c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment