Community
Participate
Working Groups
Build 2.1RC1 JavaElement#getElementInfo is locking for the entire duration of the info computation, even if info is available in cache already. The current reason is that some elements are populated in a way leading some infos to be placed in the cache in an non-initialized state (see CompilationUnit#generateInfos). The JavaModel should be more optimistic, and only store infos when they are complete. The locking should only occur when updating the cache.
Defer
reopen
Element infos are now created outside the JavaModelManager lock in a temporary cache. The are copied atomically in the JavaModelCache.
Verified.