Re: Curious Kaffe vs. jdk speed test results under Linux

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Sun Jan 10 1999 - 17:15:05 EST


On Jan 8, 1999, Godmar Back <gback@marker.cs.utah.edu> wrote:

>> If any of these libraries is static, libtool will
>> link the library into the program and add its symbols to the
>> dlpreopening symbol table. It's that simple.

> Isn't that a waste of memory, potentially?

Yep. But there's no way around it, if you only have static
libraries.

> It appears that this requires programmers to be very careful about
> avoiding global symbols whenever possible. Or is there a #pragma
> or something that allows programmers to tell the tool chain to not
> include a symbol in this table?

I think `static' does just that :-)

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:34 EDT