[PATCH] Speedup gij/libjava loading on darwin

Andrew Haley aph@redhat.com
Sat Aug 20 08:59:00 GMT 2005


Mike Stump writes:
 > 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).

That's the right thing for the java core runtime library.

Andrew.



More information about the Java-patches mailing list