aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.http.test
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-07-16 10:41:09 -0700
committerShawn O. Pearce <spearce@spearce.org>2010-07-16 10:41:09 -0700
commit12fe0f2d1eb18aab2964532e99d11d4311d558eb (patch)
tree63ee1dab4bf003b100c15459dd63f10e43cea5d2 /org.eclipse.jgit.http.test
parent97341949171dcdd7d6c30f3eef89ee2c63d8eb34 (diff)
downloadjgit-12fe0f2d1eb18aab2964532e99d11d4311d558eb.tar.gz
jgit-12fe0f2d1eb18aab2964532e99d11d4311d558eb.zip
Discard the uncompressed delta as soon as its compressed
The DeltaCache will most likely need to copy the compressed delta into a new buffer in order to compact away the wasted space at the end caused by over allocation. Since we don't need the uncompressed format anymore, null out our only reference to it so the GC can reclaim this memory if it needs to perform a collection in order to satisfy the cache's allocation attempt. Change-Id: I50403cfd2e3001b093f93a503cccf7adab43cc9d Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.http.test')
0 files changed, 0 insertions, 0 deletions