[PATCH] Speedup gij/libjava loading on darwin

Mike Stump mrs@apple.com
Fri Aug 19 21:22:00 GMT 2005


On Thursday, August 18, 2005, at 08:26  PM, Andrew Pinski wrote:
> On Darwin, libjava testing takes for ever.  The issue is that loading 
> gij (and
> the native programs) is slow and most of the time is spent dyld (the 
> dynamic
> loader, like ld.so).  If we link with -single_module, the issue goes 
> away
> because the dynamic loader have less symbols to resolve at load time.

Seems reasonable to me, as long as everyone likes the semantics (cannot 
override/replace funcs from that lib).



More information about the Gcc-patches mailing list