diff options
author | Elliott Hughes <enh@google.com> | 2012-07-26 10:32:29 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-07-26 10:56:54 -0700 |
commit | 02e0e9bce2706f0024e6f51275e2834dfacdb570 (patch) | |
tree | 52565e3f6a1e4e96f5dc7d7787ebbc1653c49fb8 /annotations/generate_annotated_java_files.py | |
parent | f19b9c467fb584a79463357e160c0a41c80d05c8 (diff) |
Make ZipFileTest#testHugeZipFile faster, and reduce ZipFile memory usage.
This test was timing out because of unbuffered I/O.
ZipFile was creating an unnecessary byte[] when writing out the central
directory. In the case of these tests, that was an extra 3MiB of heap!
(cherry-picked from a57c521b9d250f909508af771b96c0011676a968.)
Bug: 6481730
Change-Id: I923e563421056c9c0e73246357ccf54d8fb60cdb
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions