My experience is quite similar to Armen's. My Swing app is a
programmer's editor that I use heavily on both Linux and NT. I
too have found Linux JDK 117v3 green threads to be a very nice
environment. In my experience, TYA helps significantly, and I've
never seen it introduce any instability. Native threads are
definitely broken in 117v3; Swing apps are particularly sensitive
to this problem. I've occasionally seen odd behavior with native
threads in 1.2pre2 also. Font ugliness is still a problem in
1.2pre2, but the worst thing is that it has, overall, a very
sluggish feel compared to 117.
To achieve the best performance, you may have to deviate
occasionally from the straight and narrow path, as far as Swing
goes.
-Peter Graves
http://armedbear.org
Armen Yampolsky wrote:
>
> Nelson,
>
> We are working on a CORBA-based java client that is pretty weighty in
> terms of Swing components -- JSplitPane, bunches of JInternalFrames,
> etc., all on the screen at once. Working on Linux using JDK117 v3, no
> JIT, it is certainly bearable, IMO. It is slow, Java in general is slow,
> unfortunately. But I've tried some alternatives, and have come away
> feeling that this is the better. Some of my (possibly subjective)
> observations:
>
> (1) native threads are broken in JDK 117 v3. It's been talked about on
> the list, but never addressed. Components will not draw properly, frames
> will occassionally come up gray boxes, menus won't show, etc.
>
> (2) JDK 1.2 pre2 fonts are still ugly. There was some sizing problem
> with v1 that is fixed, but the font.properties file does no justice to
> running java on linux. I will try to muck around and come up with
> something decent, if I do I'll post it. As it stands, it's an eyesore.
> Demos to clients would simply be embarassing.
>
> (3) I tried a current project with JDK1.2 on NT, and found it ran
> slower! Weird. I need to look into it, because it's hard to believe
> (Symantec jit should be rather good), but it brought the machine to
> paging hell.
>
> So on my little 233 i586, the 117v3 with green threads is the most
> bearable and pleasant Swing environment I have found. As for JITs on
> linux, I have never seen TYA improve GUI performance to the extent that
> I notice it qualitatively. Since I have enough variables to deal with, I
> run without it.
>
> Good luck,
> -Armen
>
> --
> Armen Yampolsky
> Axiom Software Laboratories
> New York
>
> >
> > Subject: Swing on Linux
> > Date: Thu, 10 Jun 1999 19:45:49 -0400 (EDT)
> > From: [EMAIL PROTECTED] (Nelson Minar)
> > To: [EMAIL PROTECTED]
> > I've just started looking at using Swing for my Java project. It seems
> >
> > really really slow. Is anyone here seriously using Swing under Linux,
> > without a JIT? Is there some way to improve things? Do JITs make
> > enough difference to make it bearable?
> >
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]