This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Mixing native code and bytecode
- From: Jerome Roussel <Roussel at AdaCore dot com>
- To: java at gcc dot gnu dot org
- Date: Tue, 17 May 2005 14:33:48 +0200
- Subject: Mixing native code and bytecode
- Reply-to: Jerome Roussel <Roussel at AdaCore dot com>
Hi
I am looking for information about the way GCJ mix native code and
bytecode. I know that the bytecode is interpreted so now I am trying to
understand the interface used to "switch" from native to bytecode and
from bytecode to native.
For instance, when -findirect-dispatch is used, a vtable needs to be
filled for each native class, but what happens if one method is
inherited from a parent class which is in bytecode form. This is the
kind of question I am trying to understand about the implementation
internals.
The possibility to mix native code and bytecode is very powerful so I
thought that some papers would explain the mechanism but I haven't found
anything on that matter. If you have a link to such a paper, a
documentation or to some specific source files in GCC to look at, I
would be very grateful.
Thanks for the good work, your technology is amazing!!
Jérôme