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 3ecac070ad55d433bbcbe11e21f4b44ab178effe)
1 file changed