Reasons for slow applikation startup?

Clemens Eisserer linuxhippy@web.de
Mon Nov 1 21:23:00 GMT 2004


First of all thanks a lot for your reply!
The funny thing is that the trial version of a good commercial profiler 
told me that most time is spent somewhere else, of course when profiled 
it ran on Sun-Hotspot-Client-VM.
So there are two possibilities: gprof lies or GCJ performs really bad on 
some SWT code (1/1000x of hotspot).
I think gprof lies - are there any other, better free profilers that 
work well together with GCJ (maybe without even recompiling it?).
Thanks in advance, lg Clemens
>Clemens> I profiled the applikation with gprof, however I do not really
>Clemens> understand the output.
>>Clemens> org::eclipse::swt::internal::image::LZWCodec::decode()
>Clemens> 12.50 0.04 0.01 13 0.38 0.38
>>Clemens> Any ideas how startup could be improved?
>>Micro-optimizing the LZW decoder may help a little. Or, better,
>arrange for it to be called less often.
>>Clemens> Can gprof tell me by which
>Clemens> methods LZWCodec was called?
>>Yes, gprof generates a flat profile and also a call-graph profile.
>You want to look at the latter. This is documented in the gprof
>manual somewhere...
>>Tom
>>>


More information about the Java mailing list

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