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.
Such bytecode shape is very common. As a data point, Spring PetClinic performs 40k calls into InterpreterRuntime::ldc during startup.