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

Improve TemplateTable::ldc for class constants

XMLWordPrintable

      TemplateTable::ldc unconditionally calls into interpreter runtime (InterpreterRuntime::ldc) to get class mirror for a class constant. Introduce a fast path case for resolved class constant case.

      Such bytecode shape is very common. As a data point, Spring PetClinic performs 40k calls into InterpreterRuntime::ldc during startup.

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

              Created:
              Updated: