puzzles about hotspot interpreter

Colin(Du Li) dawn2004 at gmail.com
Thu Apr 16 19:46:30 PDT 2009


If you use command "java" to run your program, you should use option "-Xint"
to make jvm use interpreter mode. If you use command "gamma", you don't have
to do that, whose default is to use interpreter mode.

Colin 

Liu lianshun wrote:
> 
> Hello,
> I want to do some experiments with hotspot interpreter, precisely
> speeking, the C++-interpreter. I set CC_INTERP=1 when making hotspot. To
> test which interpreter will work, I embeded some codes which will create a
> file into the function bytecodeInterpreter::run(). But to my surprise,
> when I run the hotspot, no file will be created, so the function
> bytecodeInterpreter::run() wasn't invoked. If I didn't set CC_INTERP=1,
> the result was the same.
> In order to use C++-interpreter, what else should I do? Any details?
> Thanks a lot;-)
> 
> 
> Best regards
> 
> Lianshun Liu
> 

-- 
View this message in context: http://www.nabble.com/puzzles-about-hotspot-interpreter-tp23081166p23090161.html
Sent from the OpenJDK Hotspot Virtual Machine mailing list archive at Nabble.com.




More information about the hotspot-dev mailing list