problems about bytecodeInterpreter
lianshun Liu
lsliu0507 at gmail.com
Thu Apr 16 07:04:01 PDT 2009
I set CC_INTERP=1, but it seems don't work.
I build hotspot under Cygwin+VS2008. It can be successfully built, but function bytecodeInterpreter::run*() isn't invoked. Is there anything else I should do?
----- Original Message -----
From: "Coleen Phillimore" <Coleen.Phillimore at Sun.COM>
To: "lianshun Liu" <lsliu0507 at gmail.com>
Cc: <hotspot-runtime-dev at openjdk.java.net>
Sent: Thursday, April 16, 2009 8:09 PM
Subject: Re: problems about bytecodeInterpreter
>
> There are two interpreters in the Hotspot VM. One is written in c++ and
> the other generates code "templates" for bytecodes at startup. The
> default is to use the template interpreter unless you use the option
> CC_INTERP=1 at build time. These functions bytecodeInterpreter::run*()
> are in the C++ interpreter.
> Coleen
>
> On Thu, 2009-04-16 at 14:26 +0800, lianshun Liu wrote:
>> Hi~,
>> Recently, I have been doing some experiment on hotspot, But I've found
>> that following method
>> void btecodeInterpreter::run(interpreterState), or
>> void btecodeInterpreter::runWithChecks(interpreterState), which
>> locates at hotspot\src\share\vm\interpreter won't be invoked during
>> the execution of app.
>> I do this by inserting some codes into the run/runWithChecks method
>> which will create a file. But it won't do. So, which function will
>> interprete the bytecode? Thanks;)
>>
>> Best regards
>> Lianshun Liu
>>
>
More information about the hotspot-runtime-dev
mailing list