commit | a57c521b9d250f909508af771b96c0011676a968 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jul 26 10:32:29 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Jul 26 10:32:29 2012 -0700 |
tree | 5a71f7f4431da32a08ff48414bb07b19b8c57e38 | |
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