gcj-compiled jigsaw is running
Jeff Sturm
jsturm@one-point.com
Fri May 4 09:41:00 GMT 2001
On Fri, 4 May 2001, Cedric Berger wrote:
> How is the interpreter implemented?
There is no class$ symbol for interpreted classes. They aren't available
to CNI either, except compiled code can resolve an interpreted class with
java::lang::Class::forName and invoke methods in its superclass
(java.lang.Object) or via reflection.
You can of course use JNI. (And now that I think about it, why not CNI
minus the static members? Field and vtable layout should be the same as
if it were compiled.)
> Is there a way to "dlopen" the same library more than once?
If you find one, let me know... it seems dlopen always returns the same
handle for two invocations with the same name (though I don't know if it's
smart about links).
Ideally, you'd want it to map the readonly sections once, to conserve
memory.
Jeff
More information about the Java
mailing list