harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [drlvm][jitrino]question about the method without code
Date Thu, 03 Jan 2008 12:59:23 GMT
史成荣 wrote:
> hi, I found some methods in the classlib have no code, and found just a
> "return" instruction in the corresponding .class file, for example
> Java.lang.object.wait(). But when JIT compiles the bytecode of such methods,
> I found the bytecode contains not only the "return" instruction. Many other
> instructions are contained in the bytecode. Could anyone tell me when and
> how other instructions are included in the bytecode?

Are you looking at the stubs by accident?

The VM-specifc 'kernel' types are provided as compile-against stubs in
jre/lib/boot/luni-kernel-stubs.jar and security-kernel-stubs.jar.  The
actual implementations are in VM-specific subdirectories in jre/bin,
e.g. jre/bin/default/kernel.jar


View raw message