C++ Interpreter on amd64

Nagy Mostafa nagy.mostafa at gmail.com
Wed Feb 11 21:26:56 PST 2009


Hi,
I just want to know if it is possible to compile openjdk with the C++
interpreter (CC_INTERP = true) on an amd64. I used to compile it
successfully on a 32-bit machine but since moving to a 64-bit, it
fails to compile with the following error:

...
In file included from ../generated/incls/_precompiled.incl:246:
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:
In member function 'void InterpreterMacroAssembler::save_bcp()':
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:58:
error: 'interpreter_frame_bcx_offset' is not a member of 'frame'
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:
In member function 'void InterpreterMacroAssembler::restore_bcp()':
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:63:
error: 'interpreter_frame_bcx_offset' is not a member of 'frame'
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:
In member function 'void InterpreterMacroAssembler::restore_locals()':
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:68:
error: 'interpreter_frame_locals_offset' is not a member of 'frame'
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:
In member function 'void
InterpreterMacroAssembler::get_method(RegisterImpl*)':
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:74:
error: 'interpreter_frame_method_offset' is not a member of 'frame'
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:
In member function 'void
InterpreterMacroAssembler::empty_expression_stack()':
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:138:
error: 'interpreter_frame_monitor_block_top_offset' is not a member of
'frame'
/home/nagy/research/hotspot/openjdk/hotspot/src/cpu/x86/vm/interp_masm_x86_64.hpp:141:
error: 'interpreter_frame_last_sp_offset' is not a member of 'frame'
...

thanks,
Nagy Mostafa
UCSB



More information about the hotspot-dev mailing list