[kaffe] Jython 2.1 Installer slowness (was: [crash] Jython 2.1 ...)
Timothy Stack
stack at cs.utah.edu
Sat Jan 11 09:37:02 PST 2003
>
> Hi Tim,
hi,
> > Btw, for me, jython takes _forever_ to open the
> > installer window at
> > startup. I don't see this behavior in the JanosVM,
> > but it has some other
> > bugs when painting the window (i haven't updated to
> > the current cvs yet).
>
> Well, for me too ;) It seems to hang on a thread
> trying to load some images, but it never quite
> succeeds and gives up loading them eventually. Weird.
With the update JanosVM is exhibiting the same behaviour.
Xdebugging shows the following:
#6 0x89212d4 in sleep__Q34java4lang6Threadx () at Thread.java:377
#7 0x87a8d7a in
loadImage__Q711cl0x863bca03net11sourceforge7liftoff9installer3awt11ImageCanvasPQ34java4lang6String
()
at ImageCanvas.java:71
#8 0x8affc1f in
__Q711cl0x863bca03net11sourceforge7liftoff9installer3awt11ImageCanvasPQ34java4lang6String
() at ImageCanvas.java:42
#9 0x8b01554 in
cl0x863bca0.net.sourceforge.liftoff.installer.awt.InstallerFrame.InstallerFrame
() at InstallerFrame.java:91
#10 0x87cea37 in
__Q611cl0x863bca03net11sourceforge7liftoff9installer8Install2Pt6JArray1ZPQ34java4lang6String
() at Install2.java:111
#11 0x8988ec3 in
main__Q611cl0x863bca03net11sourceforge7liftoff9installer8Install2Pt6JArray1ZPQ34java4lang6String
()
at Install2.java:130
With the installer code being:
int cnt = 0;
while( (checkImage(img,this) & (ALLBITS) ) != ALLBITS ) {
try {
t.sleep(50);
} catch (Exception e) {
System.out.println(e);
}
if( cnt > 300 )
return null;
cnt ++;
}
So, it looks like Component.checkImage() was broken between now and march
of last year (the last time i synced).
> best regards,
> dalibor topic
tim
More information about the kaffe
mailing list