7024568: Very long method resolution causing OOM error

Resolve.findMethod scans same receiver type more than once in certain inheritance graphs

Reviewed-by: jjg
3 files changed