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

Date view Thread view Subject view Author view

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


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

>>
>> > 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 :-)
>>

> Obviously, I was referring to symbols that are non-static because they're
> accessed from multiple files within the library but which are not accessed
> by any files outside the library.

Yep, those will be listed in the symbol table. Anyway, it probably
doesn't increase the memory usage, since dlopen must lookup the
symbols in some table too.

-- 
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