[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: App start is too slow (looooong)
From:       Waldo Bastian <bastian () kde ! org>
Date:       2000-05-01 2:24:21
[Download RAW message or body]

On Sun, 30 Apr 2000, Michael Matz wrote:
> > Hm.. I notice that Qt gets compiled with exception support as well these
>
> Ugh. Shudder. ;)
>
> > days. I guess they try to win the most-bloated toolkit award :-)
>
> Seems so. IIRC in former versions only some .cpp's were compiled with
> exceptions enabled. Whey have they changed that? Some subtile exceptions
> through libraries issues?
>
> > Anyway, I recompiled without exception support and noticed that
> > with/without exceptions did not make a difference for the number of
> > relocations done.
>
> Strange. May be this type of relocation ("R_386_RELATIVE *ABS*") is not
> counted or is done on demand (which would make sense, as reloc sections
> only get touched if an exception is thrown). Ask some of your SuSE buddies
> (aj or so) ;-)
>
> > (However, with exceptions enabled every application wastes about 800Kb)
>
> But it should be shared data until it gets written, and writing should
> only occur on relocation, so I would hope (from the above non-changing in
> nr. of relocs), that its only one time 800k. 

I have no idea who/what is writing to these pages, but when I looked at this 
stuff last year every process that linked against Qt had to pay the price. 
Maybe there is some "exception initialisation code" that does stuff there?

Cheers,
Waldo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic