Understanding templateInterpreter

Andrew Haley aph at redhat.com
Wed Aug 12 08:30:11 UTC 2015


On 11/08/15 22:20, Ivan Krylov wrote:
> On 11/08/2015 16:23, Manas Thakur wrote:
>> Hello all,
>>
>> I am trying to understand the working of HotSpot, and I am stuck with the template interpreter.
>>
>> I was wondering if there a document available on the detailed working of template interpreter. The main thing I want to find out is that once the templates for different byte codes are generated during startup, where is the code that is responsible to select the templates by scanning over the bytecode?
>>
>> Regards,
>> Manas Thakur
>>
>>
> You can print the assembly code for each bytecode using 
> -XX:+PrintAssembly.

-XX:+PrintInterpreter

And it should be a debug VM.

Andrew.



More information about the hotspot-dev mailing list