Community
Participate
Working Groups
I see lots of good work from Gunnar in JDT core abandoned due to time constraints on Gunnars side. This bug is to at least capture some of the work so that this is not forgotten. For example https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/169916/2 looks promissing.
Created attachment 285700 [details] source for jmh map benchmarks
Created attachment 285701 [details] map benchmark result image The results (logarithmic scale) show a benefit of using jav.util.Map.
Created attachment 285702 [details] benchmark result.log
todo: rework https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/172918 Same could be applied to other Maps like org.eclipse.jdt.internal.core.util.SimpleWordSet.SimpleWordSet org.eclipse.jdt.internal.compiler.util.HashtableOfObject org.eclipse.jdt.internal.compiler.util.HashtableOfModule ... ?
org.eclipse.jdt.internal.compiler.util.SimpleLookupTable
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/177529
Moving target to the next M1
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/181516
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/181518
Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/181516 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=018ad00906e89f163cd7be9fdfb13b25e46b6e7b
Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/181518 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=fefa153826029c3ce091c710cc0eaea4a7543f73
Gerrit change https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/177529 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=f1785daee4bc6e01623be6fc0e0047643df6a3e1
Thanks Jörg for taking over here. If I look at Gunnars original patch series, we still have multiple strucutures which could be converted. See the Gerrit chain starting from https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/169916 Can you also convert the other structures?
(In reply to Lars Vogel from comment #13) > Can you also convert the other structures? Lars, I wont have the time for those as they are no hotspots in our usecases. Maybe they could be improved but the improvement seem not be significant performance-wise - as those other datastructures are not used as often. Maybe it would be a nice code-cleanup to use standard datastructures not for performance but for reducing code. However i doubt JDT core team would like such changes without proving any benefit and detailed measurements. Better focus on known issues.
@Lars can we close this or do you want to take further actions?
Verified with Eclipse. Version: 2021-09 (4.21) Build id: I20210706-1800 [Verified by code read]