]> source.dussan.org Git - jgit.git/commit
PackBitmapIndex: Not buffer inflated bitmap in BasePackBitmapIndex 56/161456/8
authorYunjie Li <yunjieli@google.com>
Thu, 23 Apr 2020 22:12:15 +0000 (15:12 -0700)
committerYunjie Li <yunjieli@google.com>
Wed, 13 May 2020 00:32:15 +0000 (17:32 -0700)
commit3aee92478c2cbc67cd921533437b824e43ed9798
tree915463c8d66e9e695b3b14a25aa278340b36aba7
parente250482c7af5e1750b241683a1afde35ed020fee
PackBitmapIndex: Not buffer inflated bitmap in BasePackBitmapIndex

Currently we're buffering the inflated bitmap entry in BasePackBitmapIndex
to optimize running time. However, this will use lots of memory during
the construction of the pack bitmap index file which may cause failure of
garbage collection.

The running time didn't increase significantly, if there's any increase,
after removing the buffering here. The report about usage of time/memory
will come in the next commit.

Change-Id: I874503ecc85714acab7ca62a6a7968c2dc0b56b3
Signed-off-by: Yunjie Li <yunjieli@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/BasePackBitmapIndex.java