Community
Participate
Working Groups
NameLookup.getModuleDescription does not cache NULL results. this leads to horrible performance in ASTParser.createBindings see https://github.com/eclipse/xtext-eclipse/issues/424
Created attachment 271065 [details] Possible patch
New Gerrit change created: https://git.eclipse.org/r/110317
looks plausible at a very quick glance ...
I rebased the gerrit and slightly modified the strategy, because as map values I prefer an explicit NO_MODULE object over the infamous 'null'.
Gerrit change https://git.eclipse.org/r/110317 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=addfd789e17dbb99af0304912ef45e4ae72c0605
New Gerrit change created: https://git.eclipse.org/r/111015
Gerrit change https://git.eclipse.org/r/111015 was merged to [R4_7_maintenance]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=9d4624151c91b926dcafec6aacee4335d95e2454
Released for 4.7.2: (In reply to Eclipse Genie from comment #7) > Gerrit change https://git.eclipse.org/r/111015 was merged to > [R4_7_maintenance]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=9d4624151c91b926dcafec6aacee4335d95e2454 > for 4.8 M4 (In reply to Eclipse Genie from comment #5) > Gerrit change https://git.eclipse.org/r/110317 was merged to [master]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=addfd789e17dbb99af0304912ef45e4ae72c0605 > Thanks
Verified for 4.7.2 by code inspection. Christian, when you have time, try out the build and confirm if the modified strategy solves your problem.
is there anywhere a oxygen.2 staging repo where i can consume this from?
(In reply to Christian Dietrich from comment #10) > is there anywhere a oxygen.2 staging repo where i can consume this from? You can use one of these update sites: http://download.eclipse.org/eclipse/updates/4.7-M-builds/ http://download.eclipse.org/eclipse/updates/4.7-M-builds/M20171115-1700/
LGTM. thank you @jdt team
Verified for Eclipse Oxygen.2 (4.7.2) Build id: M20171115-1700
*** Bug 528695 has been marked as a duplicate of this bug. ***