summaryrefslogtreecommitdiff
path: root/libnativebridge/tests/NativeBridge3LoadLibraryExt_test.cpp
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2021-06-02 15:54:17 +0100
committer Vladimir Marko <vmarko@google.com> 2021-06-03 08:09:43 +0000
commit5c824937bb82adbde857bc99cb03c769c9f68f7b (patch)
tree7aaa6cc94120e39ed93e3c0e127318f41e7bb456 /libnativebridge/tests/NativeBridge3LoadLibraryExt_test.cpp
parent95313c5d14447ff5d75f51263bfd82fc6352dd72 (diff)
Reduce Partial LSE memory usage.
Instantiate ExecutionSubgraph only for partial singleton candidates (currently NewInstance, possibly NewArray in the future). This reduces "LSA" allocations. Reserve memory for PartialLoadStoreEliminationHelper members based on the number of partial singletons instead of the number of reference infos. This reduces "LSE" allocations. The peak scoped arena allocation for one compiled method is reduced from MEM: used: 97424004, allocated: 99006568, lost: 1115968 LSA 46015104 LSE 51408900 down to MEM: used: 17000744, allocated: 26713880, lost: 3332496 GVN 17000744 where the LSA+LSE memory use is lower than GVN use. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 33650849 Change-Id: I323b9f144b258f0fab034794770971547ce94b59
Diffstat (limited to 'libnativebridge/tests/NativeBridge3LoadLibraryExt_test.cpp')
0 files changed, 0 insertions, 0 deletions