C++ Interpreter

Volker Simonis volker.simonis at gmail.com
Mon Nov 5 10:58:04 PST 2007

Hi folks,

here finally comes the patche-set to get the C++-Interpreter running
under Solaris/SPARC in 64-bit mode.

The file 'bytecodeInterpreter.cpp.patch' contains a patch to get the
C++ Interpreter working in the opt-build on 'i486' machines. I include
it here just for your convenience, as I already posted it to this list

The other three files


contain the patches for Solaris/SPARC in 64-bit mode. Now, everything
in 64-bit should work as in the 32-bit mode (at least JVM98 passes
without errors).

There was an error with OSR in 64-bit mode that I could only fixed in
shared code (in 'parseHelper.cpp'). The problem is related to the fact
that the counters are 64-bit values in 64-bit mode, but are updated as
32-bit values in JITed code. This led to errors on big-endian
archtectures like SPARC because the wrong half of the 64-bit counter
was incremented.

There are probably other ways to handle this in architecture specific
code, however the current fix should work for other 64-bit
architectures as well.

Hope this helps,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bytecodeInterpreter.cpp.patch
Type: text/x-patch
Size: 1713 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20071105/99021a92/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bytecodeInterpreter_sparc.hpp.patch
Type: text/x-patch
Size: 671 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20071105/99021a92/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cppInterpreter_sparc.cpp.patch
Type: text/x-patch
Size: 4631 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20071105/99021a92/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parseHelper.cpp.patch
Type: text/x-patch
Size: 2101 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20071105/99021a92/attachment-0003.bin 

More information about the hotspot-dev mailing list