diff options
author | Minh Thai <mthai@google.com> | 2020-04-21 21:17:58 -0700 |
---|---|---|
committer | Minh Thai <mthai@google.com> | 2020-04-23 12:14:02 -0700 |
commit | d9f84b0b7c49d23f2e064abed2cb4fa30354870d (patch) | |
tree | 41af739418ec02a449d12d7d7d1f66577854d7b4 /org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.9.tpd | |
parent | a0802ff9c26b27486fcab2922a4a469945fe8ff0 (diff) | |
download | jgit-d9f84b0b7c49d23f2e064abed2cb4fa30354870d.tar.gz jgit-d9f84b0b7c49d23f2e064abed2cb4fa30354870d.zip |
UploadPack: Clear advertised ref map after negotiation
After negotiation phase of a fetch, the advertised ref map is no longer used and
can be safely cleared. For >1GiB repos object selection and packfile writing may
take 10s of minutes. For the chromium.googlesource.com/chromium/src repo, this
advertised ref map is >400MiB. Returning this memory to the Java heap is a major
scalability win.
Change-Id: I00d453c5ef47630c21f199e333e1cfcf47b7e92a
Signed-off-by: Minh Thai <mthai@google.com>
Diffstat (limited to 'org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.9.tpd')
0 files changed, 0 insertions, 0 deletions