commit | 668dc1ad8dd4dcf5e69c83b9697df1b556fc20b5 | [log] [tgz] |
---|---|---|
author | Carsten Hammer <carsten.hammer@t-online.de> | Fri Jan 01 12:50:16 2021 +0100 |
committer | Jay Arthanareeswaran <jarthana@in.ibm.com> | Mon Apr 04 05:43:36 2022 -0400 |
tree | 9012ba082dba4f2086e94a99051227525dc8eef6 | |
parent | a47425cbeecfd12f7e2a34a854245ab662311f27 [diff] |
Bug 566657 - use java.net.URI instead of java.net.URL Invocation of java.net.URL.equals(Object), which blocks to do domain name resolution, in org.eclipse.jdt.internal.core.search.indexing.IndexManager.computeIndexLocation(IPath, URL) The equals and hashCode method of URL perform domain name resolution, this can result in a big performance hit. See http://michaelscharf.blogspot.com/2006/11/javaneturlequals-and-hashcode-make.html for more information. Consider using java.net.URI instead. Rank: Of Concern (16), confidence: High Pattern: DMI_BLOCKING_METHODS_ON_URL Type: Dm, Category: PERFORMANCE (Performance) Change-Id: I29936f8f7df460aeb4195df1cbdf8df72c01d6f6 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de> Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/174169 Tested-by: JDT Bot <jdt-bot@eclipse.org> Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> Reviewed-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
This is the core part of Eclipse's Java development tools. It contains the non-UI support for compiling and working with Java code, including the following:
For more information and important links, refer to the [JDT wiki page] 1 or the [JDT project overview page] 2.