summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
author Pierre Langlois <pierre.langlois@arm.com> 2024-03-01 10:34:20 +0000
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-04-17 12:53:53 +0000
commitb9247e265b8068750e15abb94ee57ce7234bb736 (patch)
tree135b4a5b819948ae665d2ad96697f4e2dd7a6688 /compiler/optimizing/graph_visualizer.cc
parent21be0617dc21cea26fd233daa283bfe0dc654151 (diff)
16k: Hint that allocation spaces should be 32mb aligned
The CMC GC performs a mremap() spanning the entire bump-pointer space during a stop-the-world pause. As a result, it's important for the space to be aligned to at least the Page Middle Directory, allowing mremap() to copy page tables more efficiently, thanks to having a lot fewer entries to work on, all of them PMD-sized. However, when the kernel is configured with 16k pages instead of 4k, this increases the PMD size from 2m to 32m. This patch adjusts the allocation hint to be 32m aligned. Test: m test-art-host-gtest Test: testrunner.py --host --64 --optimizing -b Test: run-gtests.sh -- -j6 Test: testrunner.py --target --64 --optimizing Change-Id: Icf3e5ae38975d35de69cc744750783c50e767029
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions