summaryrefslogtreecommitdiff
path: root/test/968-default-partial-compile-gen/util-src/generate_java.py
diff options
context:
space:
mode:
author xieliujie <xieliujie@oppo.com> 2021-10-01 16:38:38 +0800
committer Treehugger Robot <treehugger-gerrit@google.com> 2021-10-01 10:13:19 +0000
commitc27fb3db6b4a267521a5f392014a8316adff87ed (patch)
tree5667f866ceb74316098408fbd3064c0957905ad1 /test/968-default-partial-compile-gen/util-src/generate_java.py
parent4aaf6958e95a869d6677e0a07ebdd79bb77de507 (diff)
zeroing BitMemoryRegion buffer.
WriteMethods use ForMethodBitmapHotnessFlags to store bit, But it may not store bit on some conditions. For scudo in Android S zeroing heap is by default. so it works normally. But if MALLOC_ZERO_CONTENTS is false or using jemalloc allocator, the heap may filled with dirty data. so we should zero BitmayRegion buffer. Test: malloc_svelte target run cts -m CtsDexMetadataHostTestCases -t com.android.cts.dexmetadata.InstallDexMetadataHostTest#testProfileSnapshotAfterInstall Bug: 201627008 Change-Id: I92aa4dffd6bb5ba51f515c9bea4837f2d4cbf706 Signed-off-by: liuhailong <liuhailong@oppo.com> Signed-off-by: xieliujie <xieliujie@oppo.com>
Diffstat (limited to 'test/968-default-partial-compile-gen/util-src/generate_java.py')
0 files changed, 0 insertions, 0 deletions