diff options
| author | 2022-08-12 12:17:50 -0700 | |
|---|---|---|
| committer | 2022-08-13 02:16:54 +0000 | |
| commit | 335d85847dea8d11830a0a4e32e0571c2a1b7bb0 (patch) | |
| tree | ce95ec4be863e166d88d543d33a340d293e11281 /compiler/optimizing/find_loops_test.cc | |
| parent | 195869b6999186b9a0a58989b909a23ed898887e (diff) | |
Fallback to stop-the-wold compaction on hosts with kernel < 5.7
Userfaultfd GC uses a userfaultfd trick to terminate concurrent
compaction. This trick requires page-fault retry feature in the kernel,
which was introduced in 5.7. Without the feature, repeated faults on the
same page leads to SIGBUS with BUS_ADRERR code.
The feature was backported to android12-5.4, so is not an issue on
devices.
Test: ART_USE_READ_BARRIER=false art/test/testrunner/testrunner.py --host
Bug: 242181443
Bug: 160737021
Change-Id: Ie07012b66de4f77f8b5ac97d9b4951de643398e5
Diffstat (limited to 'compiler/optimizing/find_loops_test.cc')
0 files changed, 0 insertions, 0 deletions