Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] Download sources and Javadoc / Too Slow

Excellent, no need for "-Dsun.io.useCanonCaches=true" in Eclipse 4.21 which seems to be replaced with use of createPackageFragementKey()

A good approach, not to rely on JVM options anymore.

Thanks for pointing me to the correct direction.

On Wed, 1 Dec 2021 at 18:04, Jörg Kubitz <jkubitz-eclipse@xxxxxx> wrote:
probably I already solved that?!
see Bug 571614 - [performance] Avoid File.getCanonicalPath

https://bugs.eclipse.org/bugs/show_bug.cgi?id=571614

https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/182759/8/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java
Jörg

Am 01.12.2021 um 17:48 schrieb Elias Balasis:
> Hello all,
>
> I have come across a rather weird slowness during the "Download sources
> and Javadoc" stage of JDT.
>
> Here is a screenshot from Visual VM
> image.png
> you can also find attached the JVM dump.
>
> It is unexpected that most of the time is spent on the
> java.io.file.getCanonicalPath() call
>
> Any thoughts anyone?
>
>
> _______________________________________________
> jdt-dev mailing list
> jdt-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev
>


_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev

Back to the top