This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Kill a static constructor in boehm-gc


> -----Original Message-----
> From: Bryce McKinlay [mailto:bryce@waitaki.otago.ac.nz]
> Boehm, Hans wrote:
> 
> I don't really understand the details either, but basically, 
> how can the 
> GC initialize - eg find the applications static data section, 
> when that 
> data may not have even been loaded yet? This crash occurs even with 
> GC6.1a1 and glibc 2.2.4, so I dont think its a problem neccessarily 
> related to shared library registration.
So preloading a shared library runs the constructors before the main program
is loaded, i.e. before all of the symbols have been resolved?  It should be
OK if dynamic libararies haven't yet all been loaded.
> 
> OK. Here's the patch which I'm checking in.
> 
Thanks.

Hans


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]