Paul Mclachlan wrote:

> --- Nick Lawson <[EMAIL PROTECTED]> wrote:
>
> > I thought Swing was slow on Windows... I appreciate that JDK
> > 1.2.2
> > is still beta, but i'm having serious performance problems
> > with my
> > apps on linux, where I don't with the other os.
>
> No, this is pretty much what I'd expect.  Windows has a lot more
> resources to develop JVM's.  It has always been the fastest
> platform to run Java on.

Well, I hope not ! I've seen various (unsupported) claims
for the
superior
performance of linux - and as I mentioned I'm new to linux,
so
that's
what I would like to see. (BTW, this is Suns jdk under
Windows,
not MS).

> > The problem is storage - I have 32m ram. According to top,
> > the SwingSet
> > demo has a size of 22M (13M RSS) after loading - this with
> > -Xxm32m and no JIT. (With a 16m heap it quickly goes
> > OutOfMemory). The JIT adds about 3meg.
>
> sunwjit, or are you running tya?  Tya is really very good, but I
> haven't measured the increase in memory.

I dont think JIT is an issue here - loading should be (and
is)
faster
without a JIT, but still slow because of paging. My
impression from
watching top is that other processes dont get swapped out
very fast
- a linux rather than a java vm issue.

However there is a point here, which surprised me -
OutOfMemory
occurs sooner without a JIT than with a JIT (also in
Windows).
Can't imagine why.

There is a jvm aspect which worries me, and that is the rate
at
which
it chews up the heap when you change L&F - about 2.5m per
shot!
Then it runs out of memory - why? With the JIT, its a lot
less per
shot,
but still runs out of memory eventually.

> > Help !
>
> Maybe IBM will release a JVM for 1.2 that's more efficient.  The
> blackdown is a straight port from the solaris version, and I've
> got a funny feeling they're not allowed (by the license) to
> distribute modifications other than that required to do the port
> itself.  (ie, no rewrites for performance enhancements).  Maybe
> sun will release the hotspot sourcecode to us!

We wish!

Nick


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to