Re: jgit performance update
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Dec 3, 2006, 22:16 UTC
- Message-ID
- <20061203221602.GA15965@spearce.org>
- In-Reply-To
- <457347E1.2020800@stephan-feder.de>
sf <sf-gmane@stephan-feder.de> wrote:
Show 7 quoted lines
> Shawn Pearce wrote: > ... > > One of the biggest annoyances has been the fact that although Java > > 1.4 offers a way to mmap a file into the process, > > Be careful with mmap: > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4724038
Thanks. That particular bug has been of some discussion on #git before. I'm planning on making it a configuration flag in .git/config for the user to decide how much pain they want: mmap (with all its huge downsides) or read into byte[] (with all the memory footprint that requires).