Bug 102734

Summary: [1.5][compiler] Method lookup improvements
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Philipe Mulet CLA 2005-07-05 10:39:56 EDT
3.1

Lookups could be using caches (receiverType+argTypes).
Methods could be linked to their overriden method (if any).
Comment 1 Kent Johnson CLA 2006-02-24 16:18:57 EST
Some stats to keep in mind (using standard source libs):

- less than 1 in 5 implicit message sends need lookups (81% are exact matches)

- same with non-implicit messages sends (82% are exact matches)

- 36% of message sends are implicit


So less than 1 in 5 message sends would benefit from any kind of caching
Comment 2 Philipe Mulet CLA 2006-02-27 06:17:33 EST
Agreed. Maybe it should only do caching on generic method invocations, since these are quite expensive to compute.

Also it would give us identity for generic method binding invocations, which we have as a feature request (for DOM AST side).
Comment 3 Philipe Mulet CLA 2006-03-28 15:29:29 EST
I sorted fields and methods, to enable binary searching them.
Comment 4 Philipe Mulet CLA 2006-04-18 07:06:23 EDT
Canonicalized generic method bindings.
Still inference is required, and could be optimized.
Comment 5 Philipe Mulet CLA 2006-04-26 11:18:13 EDT
post 3.2
Comment 6 Denis Roy CLA 2009-08-30 02:18:52 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.