Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Endless loop when detecting filesystem timestamps resolution


On 17 Jul 2019, at 16:31 , Dmitry Pavlenko <pavlenko@xxxxxxxxxxxxx> wrote:

Hello!

We're using JGit library internally and for one of our clients it entered into an endless loop.

The stack trace obtained by 'jstack' is

  java.lang.Thread.State: TIMED_WAITING (sleeping)
       at java.lang.Thread.sleep(Native Method)
       at java.lang.Thread.sleep(Thread.java:340)
       at java.util.concurrent.TimeUnit.sleep(TimeUnit.java:386)
       at org.eclipse.jgit.util.FS$FileStoreAttributeCache.<init>(FS.java:242)
       at org.eclipse.jgit.util.FS$FileStoreAttributeCache.getFsTimestampResolution(FS.java:213)

See https://git.eclipse.org/r/#/c/144897/ and the series of related commits.

Cheers,

  Thomas

Back to the top