C++ Interpreter

steve goldman Steve.Goldman at Sun.COM
Mon Oct 1 12:44:55 PDT 2007


Volker Simonis wrote:

> 
> 
> Any ideas or hints? Is the C++ Interpreter for Sparc really functional
> as of now (b20) or has it just been integrated into OpenJDK as a hint
> for developpers how it could work?

Well the 64bit version has been smoke tested in the past. I mostly only 
did 32bit versions. The 32bit version is pretty lightly tested. jvmti 
most certainly has problems.

Looking at the code in the frame manager there are several mistakes in 
loading the result_index. Here's bad code

ld_ptr(L2_scratch, in_bytes(methodOopDesc::result_index_offset()), 
L2_scratch);

and the fix.

ld(L2_scratch, in_bytes(methodOopDesc::result_index_offset()), L2_scratch);

[ It's hard to see how the smoke test ever passed with these kind of 
mistakes.]


-- 
Steve



More information about the hotspot-dev mailing list