Bug 546972

Summary: [1.8][inference] improve re-use of inference contexts
Product: [Eclipse Project] JDT Reporter: Stephan Herrmann <stephan.herrmann>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 Keywords: performance
Version: 4.12   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Stephan Herrmann CLA 2019-05-03 14:44:09 EDT
Follow-up from

(In reply to Stephan Herrmann from bug 512156 comment #41)
> [...] I found s.t. else
> fishy: when we see an innerContext for the second time, it isn't actually an
> inner context, it is a fresh context for the same MessageSend as the current
> context.
> 
> Apparently, our cashing in MessageSend#inferenceContexts isn't as
> effectively as one might hope. (It's bad enough that copies of the enclosing
> lambdas will create new copies of the enclosed MessageSend, requiring fresh
> new IC18 in each of these universes...).
> 
> => May want to investigate this in a follow-up bug.
Comment 1 Eclipse Genie CLA 2022-07-21 16:36:52 EDT
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.