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

Fergus Henderson fjh@cs.mu.oz.au
Sat Apr 14 07:50:00 GMT 2001


On 13-Apr-2001, Jonathan P. Olson <olson@mmsi.com> wrote:
> Does anybody have a feel for the costs of non-conservative stack 
> scanning?
>> Seems like the compiler would have to emit a ton of debugging information
> to specify the contents of each word of the stack frame at each PC 
> location within the program. Wading through all this mess in a GC
> would likely be more costly than just conservatively scanning the stacks.

You don't necessarily need such information for each PC location;
for example, for single-threaded applications it's enough to record
such information for each call site or heap allocation.
-- 
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
 | of excellence is a lethal habit"
WWW: < http://www.cs.mu.oz.au/~fjh > | -- the last words of T. S. Garp.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /