harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "史成荣" <icyr...@gmail.com>
Subject Re: [drlvm][jitrino]question about the method without code
Date Thu, 03 Jan 2008 13:21:30 GMT
yes, you are right.
Thanks for your help, I got it.


2008/1/3, Tim Ellison <t.p.ellison@gmail.com>:
>
> 史成荣 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
>
> Regards,
> Tim
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message