summaryrefslogtreecommitdiff
path: root/runtime/native/java_lang_Thread.cc
diff options
context:
space:
mode:
author Lokesh Gidra <lokeshgidra@google.com> 2024-03-11 22:04:54 +0000
committer Lokesh Gidra <lokeshgidra@google.com> 2024-03-15 23:00:33 +0000
commitc291cfec1a375b23ed3c68da8c563e329ce17213 (patch)
treeb27e5f1f1e896e7755a21a96be2387c543cc8b83 /runtime/native/java_lang_Thread.cc
parent2f7cff3190f6ff931d62c027e420420281e20fa2 (diff)
Reland "Batch compacted pages to reduce number of uffd ioctls."
This reverts commit 208ade91673d0fc85041c024a158be0207d0bc3b. Reason for revert: Resolving linear-alloc crashes Fix the case where compaction phase is done in STW pause. This happens when the kernel doesn't support MREMAP_DONTUNMAP but supports userfaultfd, like in case of golem. Also incorporates changes to copy/zeropage ioctls to absorb EAGAIN thrown by kernel when mmap_lock is contended and repeat the ioctl for remaining pages. Bug: 320478828 Bug: 160737021 Change-Id: I1c9b26a717a8b7c8f274ec515ad24b101e7833d0 Test: art/test/testrunnner/testrunner.py --host
Diffstat (limited to 'runtime/native/java_lang_Thread.cc')
0 files changed, 0 insertions, 0 deletions