Community
Participate
Working Groups
Build 3.3rc2 Various JARs may point at the same source attachment zip (e.g. pieces from JRE container all point at same src.zip). Seems like there is some potential for sharing there (like inferred roots, pkg tables, ...).
Some caching for roots already exists. Jay, please check if this is still an issue. Might just need to be closed as WORKSFORME.
It's true that package fragment roots are cached. However, the source mappers themselves are not reused and there is one instance in memory for each root. While caching is possible here, I need to find out how helpful it would be. I will investigate this.
Created attachment 212969 [details] Draft patch This patch lets us cache/reuse source mappers for same source attachment across roots. There are about 14 tests failing with this patch. Obviously the patch has bugs. The patch neither trivial nor do I have any numbers on performance improvements yet. And since we are already in M7, I will revisit this later.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.