Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8320277

Improve invokeinterface support for non-interface methods in template interpreter

XMLWordPrintable

      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.

            Unassigned Unassigned
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: