Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] JGit slow?

On Wed, Dec 19, 2012 at 9:14 AM, Thomas Hallgren <thomas@xxxxxxx> wrote:
> We are missing the local mode optimization. Doing it the way CGit does
> it from Java will be difficult, CGit uses filesystem hardlinks to
> efficiently copy object and pack files on the same filesystem. Java
> doesn't support these.
>
> It does in Java 7, on filesystems that support it:
>
> http://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html#createLink(java.nio.file.Path,%20java.nio.file.Path)
>
> And Java 6 will reach EOL in two months according to Oracle:
> http://www.oracle.com/technetwork/java/eol-135779.html
>
> Not saying that it should be abandoned but would moving to Java 7 in newer
> releases of jgit be problematic?

JGit still targets Java 5... :-)

We might be able to step up to a minimum of 6 or 7 based on the
minimum version of Java required to run the oldest Eclipse version
EGit supports.


Back to the top