Commit 69fce6fd authored by Orion Hodson's avatar Orion Hodson
Browse files

ARM64: JIT Code Cache maintenance

Cache maintenance operations on ARM64 can cause segmentation faults if
addresses are not backed by physical RAM. Some Linux kernel verions
have a bug that exposes these faults to user-land which crashes
ART. Some of the test devices used by the ART buildbots have this
issue.

This CL explicitly faults in memory relevant addresses before
performing cache maintenance operations.

Bug: 62356545
Test: art/test.py --target --64 --r
Change-Id: Id7390c14f75c13b3fbbbbb742afeb9ffef9a3801
(cherry picked from commit 3ecac070)
parent bf134ac4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment