Use userfaultfd in COPY mode even when minor-fault available
Private anonymous is preferred over shmem due to performance as well as
accounting issues with the latter. Therefore use COPY ioctl.
Test: art/test/testrunner/testrunner.py
Bug: 263341475
Change-Id: I673da4fe5897416302ae0cfbecca4a429e55c65f
diff --git a/runtime/gc/collector/mark_compact.cc b/runtime/gc/collector/mark_compact.cc
index 5251a6d..c9b2ff4 100644
--- a/runtime/gc/collector/mark_compact.cc
+++ b/runtime/gc/collector/mark_compact.cc
@@ -251,7 +251,7 @@
compaction_in_progress_count_(0),
compacting_(false),
uffd_initialized_(false),
- uffd_minor_fault_supported_(GetUffdAndMinorFault().second),
+ uffd_minor_fault_supported_(false),
minor_fault_initialized_(false),
map_linear_alloc_shared_(false) {
// TODO: Depending on how the bump-pointer space move is implemented. If we