This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


"Boehm, Hans" wrote:

> I'm seeing significant overheads as a result of dynamic library calls.  On a
> PII/300 machine, a (single-threaded) loop containing only free(malloc(8))
> runs more than 20% faster when it's linked statically.  This is similar on
> an Itanium machine.  I'm not sure how significant that is for typical C
> programs, nor how frequently something like libsupc++ is called.  I believe
> it is currently very significant for libgcj and calls to the garbage
> collector library from libgcj.

Why don't we link the garbage collector into libgcj?

regards

  [ bryce ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]