problems about bytecodeInterpreter
Coleen Phillimore
Coleen.Phillimore at Sun.COM
Thu Apr 16 05:09:08 PDT 2009
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