[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    problems about bytecodeInterpreter
From:       lsliu0507 () gmail ! com (lianshun Liu)
Date:       2009-04-16 14:04:01
Message-ID: 5AF6699220074727BBC50C96324A553F () AAA
[Download RAW message or body]

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
> > 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic