summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEdgar Arriaga <edgararriaga@google.com>2021-04-05 10:57:37 -0700
committerEdgar Arriaga <edgararriaga@google.com>2021-04-09 11:44:19 -0700
commit7961e3557dfc32353f78231fd6599c45899f9943 (patch)
tree7b8d11353e1ba25858ba6ef284f9c4d4429ad38b /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd0f987eeb029f0a144a831ebcd33c23d19aa1131 (diff)
cleanups and fixes for process_madvise compaction
some fix suggestions that came up on ag/13665789 and some other cleanups 1. Use unique_fd instead of raw int to keep pidfd 2. Return the total compacted bytes on success for compactProcess 3. Fix for error potentially returning a random value 4. Fix truncation that could happen when calling madvise 5. Fail fast after encountering an error instead of silently advancing to other VMAs when compacting. Bug: 162993824 Test: Manual Signed-off-by: Edgar Arriaga <edgararriaga@google.com> Change-Id: Ide644f66cf0ebdea570dcb365d6a2400ffb18f4e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions