From lsliu0507 at gmail.com Thu Apr 16 15:21:25 2009 From: lsliu0507 at gmail.com (lianshun Liu) Date: Fri, 17 Apr 2009 06:21:25 +0800 Subject: puzzles about hotspot interpreter Message-ID: <4DF9A569B15E44E182AAE396C6A235F5@AAA> Hello, I want to do some experiments with hotspot interpreter, precisely speeking, the C++-interpreter. I build hotspot under Cygwin+VS2008, and 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20090417/5fef1df2/attachment.html From lsliu0507 at gmail.com Fri Apr 17 06:58:03 2009 From: lsliu0507 at gmail.com (lianshun Liu) Date: Fri, 17 Apr 2009 21:58:03 +0800 Subject: building problems about hotspot Message-ID: Hello, I build hotspot under Cygwin+VS2008, the following are the environment variables I set: _________________________________________________________ set PATH=C:\Progra~1\MSVC9\VC\bin;c:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem set ANT_Home=C:/Progra~1/apache-ant-1.7.1 set ALT_BOOTDIR=C:/Progra~1/Java/jdk1.6.0 set ALT_BINARY_PLUGS_PATH=C:/Progra~1/JDK7/Plug/openjdk-binary-plugs set ALT_JDK_IMPORT_PATH=E:/OpenJDK/openjdk/build/windows-i586/j2sdk-image set ALT_DXSDK_PATH=C:/Progra~1/DXSDK set VC=C:/Progra~1/MSVC9 set ALT_COMPILER_PATH=%VC%/VC/bin set ALT_MSDEVTOOLS_PATH=C:/PROGRA~1/MI2578~1/Windows/v6.0A/bin set ALT_MSVCR90_DLL_PATH=%VC%/VC/redist/x86/Microsoft.VC90.CRT set ALT_MSVCRNN_DLL_PATH=%VC%/VC/redist/x86/Microsoft.VC90.CRT set ALT_FREETYPE_LIB_PATH=C:/Progra~1/Freetype/lib set ALT_FREETYPE_HEADERS_PATH=C:/Progra~1/Freetype/include rem I set CC_INTERP=true to use C++-interpreter, is it right? set CC_INTERP=true call C:\Progra~1\MSVC9\Common7\Tools\vsvars32.bat bash ________________________________________________________ then, I use "make" command to build hotspot. In order to build the C++-interpreter, not template-interpreter, I set CC_INTERP=true. But it didn't work. Is there anything wrong? Or how can I do? Thanks a lot. Best wishes Lianshun Liu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20090417/f13bd2e7/attachment.html