Inliner heuristics: improve looksLikeForwarderOrFactoryOrTrivial
#565
Labels
Milestone
looksLikeForwarderOrFactoryOrTrivial
#565
looksLikeForwarderOrFactoryOrTrivial
identifies forwarders, factories and trivial methods. Currently that method doesn't know a field read or a method call targets a public or private field or method. It approximates this by tratinggetfield
as private,getstatic
as public,invokespecial
as private,invokestatic
as public.So we should fix the following miscategorizations:
invokestatic
to call a private method (such forwarders should not be inlined, as this creates more private callsites, which should be avoided)The text was updated successfully, but these errors were encountered: