JDK7u, hotspot, CC_INTERP, and COBOL

Francis ANDRE francis.andre.kampbell at orange.fr
Thu Sep 26 19:40:33 PDT 2013


Hi Christian

Ok, I will have a look at Zero and try to make it on windows. Thanks for the 
pointer.

Le 27/09/2013 04:19, Christian Thalinger a écrit :
> On Sep 25, 2013, at 10:52 AM, Francis ANDRE <francis.andre.kampbell at orange.fr> wrote:
>
>> Hi
>>
>> On WXP with VS2010 and the http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/ repository, I successfully build and ran the debug version of hotspot in compiler1 directory. fine
>>
>> Next, I tried  to get working the bytecode cppInterpreter instead of the template based interpreter adding the CC_INTERP=true preprocessor define, but I got several compile errors -- see below --
>>
>> By looking at the Wiki and the OpenJDK website, I discovered that the cppInterpreter was no more maintained.
> I have no idea if it works on Windows but on Linux you can build Zero:
>
> http://openjdk.java.net/projects/zero/
>
> Zero uses the C++ interpreter.

>
>> So I am wondering why the cppInterpreter is not anymore maintained and would like to understand if this decision is definitive or not, because it seems to me that there are very few errors. (see above) and that, IMHO, a somewhat small effort should be made to fix the cppInterpreter (but it could be totally wrong).
>>
>> I need the cppInterpreter to make a proposal to the MLVM project to slightly change the JVM spec for all xALOAD  and xASTORE bytecodes for a specific class version number for an efficient support of a _COBOL __runtime_.
>>
>> Regards
>>
>> Francis
>>
>>
>> cppInterpreter_x86.cpp
>> 1>  frame_x86.cpp
>> 1>  interpreter_x86_32.cpp
>> 1>  interp_masm_x86_32.cpp
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(691): error C2039: 'interpreter_frame_sender_sp_offset' : n'est pas membre de 'frame'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\share\vm\runtime/frame.hpp(73) : voir la déclaration de 'frame'
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(691): error C2065: 'interpreter_frame_sender_sp_offset' : identificateur non déclaré
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(692): error C2039: 'interpreter_frame_last_sp_offset' : n'est pas membre de 'frame'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\share\vm\runtime/frame.hpp(73) : voir la déclaration de 'frame'
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(692): error C2065: 'interpreter_frame_last_sp_offset' : identificateur non déclaré
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(693): error C2039: 'interpreter_frame_method_offset' : n'est pas membre de 'frame'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\share\vm\runtime/frame.hpp(73) : voir la déclaration de 'frame'
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(693): error C2065: 'interpreter_frame_method_offset' : identificateur non déclaré
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(694): error C2039: 'interpreter_frame_mdx_offset' : n'est pas membre de 'frame'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\share\vm\runtime/frame.hpp(73) : voir la déclaration de 'frame'
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(694): error C2065: 'interpreter_frame_mdx_offset' : identificateur non déclaré
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(695): error C2039: 'interpreter_frame_cache_offset' : n'est pas membre de 'frame'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\share\vm\runtime/frame.hpp(73) : voir la déclaration de 'frame'
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(695): error C2065: 'interpreter_frame_cache_offset' : identificateur non déclaré
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(696): error C2039: 'interpreter_frame_locals_offset' : n'est pas membre de 'frame'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\share\vm\runtime/frame.hpp(73) : voir la déclaration de 'frame'
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(696): error C2065: 'interpreter_frame_locals_offset' : identificateur non déclaré
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(697): error C2039: 'interpreter_frame_bcx_offset' : n'est pas membre de 'frame'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\share\vm\runtime/frame.hpp(73) : voir la déclaration de 'frame'
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(697): error C2065: 'interpreter_frame_bcx_offset' : identificateur non déclaré
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(698): error C2039: 'interpreter_frame_initial_sp_offset' : n'est pas membre de 'frame'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\share\vm\runtime/frame.hpp(73) : voir la déclaration de 'frame'
>> 1>..\..\src\cpu\x86\vm\frame_x86.cpp(698): error C2065: 'interpreter_frame_initial_sp_offset' : identificateur non déclaré
>> 1>  sharedRuntime_x86_32.cpp
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(56): error C2220: avertissement considéré comme une erreur - aucun fichier 'object' généré
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(56): warning C4146: opérateur moins unaire appliqué à un type non signé, le résultat sera non signé
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(1414): error C2039: 'increment_mask_and_jump' : n'est pas membre de 'InterpreterMacroAssembler'
>> 1> z:\dev\openjdk7u\hotspot\src\cpu\x86\vm\interp_masm_x86_32.hpp(34) : voir la déclaration de 'InterpreterMacroAssembler'
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(1417): error C2061: erreur de syntaxe : identificateur 'Condition'
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(1419): error C3861: 'movl' : identificateur introuvable
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(1421): error C3861: 'incrementl' : identificateur introuvable
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(1422): error C3861: 'movl' : identificateur introuvable
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(1423): error C3861: 'andl' : identificateur introuvable
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(1424): error C2065: 'cond' : identificateur non déclaré
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(1424): error C2065: 'where' : identificateur non déclaré
>> 1>..\..\src\cpu\x86\vm\interp_masm_x86_32.cpp(1424): error C3861: 'jcc' : identificateur introuvable
>> 1>..\..\src\cpu\x86\vm\interpreter_x86_32.cpp(233): error C2039: 'empty_expression_stack' : n'est pas membre de 'InterpreterMacroAssembler'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\cpu\x86\vm\interp_masm_x86_32.hpp(34) : voir la déclaration de 'InterpreterMacroAssembler'
>> 1>..\..\src\cpu\x86\vm\interpreter_x86_32.cpp(235): error C2039: 'restore_locals' : n'est pas membre de 'InterpreterMacroAssembler'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\cpu\x86\vm\interp_masm_x86_32.hpp(34) : voir la déclaration de 'InterpreterMacroAssembler'
>> 1>..\..\src\cpu\x86\vm\cppInterpreter_x86.cpp(2211): error C2039: 'method_handle' : n'est pas membre de 'Interpreter'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\share\vm\interpreter/interpreter.hpp(143) : voir la déclaration de 'Interpreter'
>> 1>..\..\src\cpu\x86\vm\cppInterpreter_x86.cpp(2211): error C2065: 'method_handle' : identificateur non déclaré
>> 1>..\..\src\cpu\x86\vm\cppInterpreter_x86.cpp(2211): error C2051: l'expression associée à case n'est pas une constante
>> 1>..\..\src\cpu\x86\vm\cppInterpreter_x86.cpp(2211): error C2039: 'generate_method_handle_entry' : n'est pas membre de 'InterpreterGenerator'
>> 1> Z:\DEV\OpenJDK7u\hotspot\src\share\vm\interpreter/interpreterGenerator.hpp(37) : voir la déclaration de 'InterpreterGenerator'
>> 1>..\..\src\cpu\x86\vm\cppInterpreter_x86.cpp(2255): error C2064: le terme ne correspond pas à une fonction qui prend 0 arguments
>> 1>..\..\src\cpu\x86\vm\sharedRuntime_x86_32.cpp(3062): error C2220: avertissement considéré comme une erreur - aucun fichier 'object' généré
>> 1>..\..\src\cpu\x86\vm\sharedRuntime_x86_32.cpp(3062): warning C4146: opérateur moins unaire appliqué à un type non signé, le résultat sera non signé
>> ========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré ==========
>>
>>
>>
>>
>>
>



More information about the mlvm-dev mailing list