Template interpreter implements invokeinterface on non-interface methods (in Object) by re-resolving corresponding instruction on every invocation.
Object methods are popular, so it may negatively affect application startup.
As a data point, Spring PetClinic performs ~1,5k calls into Object methods through invokeinterface during startup.
Consider a faster implementation for the common case when selected method is public.
Object methods are popular, so it may negatively affect application startup.
As a data point, Spring PetClinic performs ~1,5k calls into Object methods through invokeinterface during startup.
Consider a faster implementation for the common case when selected method is public.