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.

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

              Created:
              Updated: