dynamic library cost (was RE: libtool, java woes)

Alexandre Oliva aoliva@redhat.com
Thu Apr 12 05:42:00 GMT 2001

On Apr 10, 2001, "Boehm, Hans" <hans_boehm@hp.com> wrote:

> Even if you unconditionally compile the library as PIC, there's
> still the issue of whether the client can directly branch it, or
> branch to an indirect branch to the routine (X86) or branch to a
> more complicated trampoline (IA64).

Indeed.  It's not just an issue of having one register put aside to
point to the GOT.  Going through the PLT can indeed get quite
more expensive than a direct call.

Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

More information about the Java mailing list