diff options
author | 2023-03-10 19:19:38 +0000 | |
---|---|---|
committer | 2023-03-11 03:13:49 +0000 | |
commit | 22ec0a49eb93bc8e35d77c4c6d5ec1a40748ee01 (patch) | |
tree | b34e088ca8e539047f0231ea93c26aee71a40814 /runtime/fault_handler.cc | |
parent | 8eb4123b3847ee16dc41f1087fa760e81cdd311e (diff) |
Fix black-allocation sliding logic for sub-kPageSize TLABs
The logic to slide black-allocations (objects allocated after marking
phase is finished and before compaction is started) for userfaultfd GC
was not handling the case when TLABs are not page-size aligned. This
would happen if java-heap sampler is enabled, or if we are instrumenting
object allocations and therefore every allocation is done directly from
the space instead of from the TLAB.
Bug: 272056281
Test: Install ART module and enable uffd-GC. Trigger java heap sampler
using external/perfetto/tools/heap_profile -n system_server --all-heaps
Change-Id: I5208da148245044b8eb377f6f50c071ab987e556
Diffstat (limited to 'runtime/fault_handler.cc')
0 files changed, 0 insertions, 0 deletions