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:32:29 -0700 |
| commit | a57c521b9d250f909508af771b96c0011676a968 (patch) | |
| tree | 5a71f7f4431da32a08ff48414bb07b19b8c57e38 /annotations/generate_annotated_java_files.py | |
| parent | 2283ed1205fbc53c6fb985874f0414384d0b894c (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!
Bug: 6481730
Change-Id: I75acac35c556ad5fdc8b06bc616c11244d6b6c55
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
