[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] java on the raq3
- Subject: Re: [cobalt-developers] java on the raq3
- From: Michael Lampkin <michael@xxxxxxxxxx>
- Date: Thu Mar 23 11:16:38 2000
- Organization: Cobalt Networks
It probably isn't something you have to worry about...
Any time you create a complex data type, a new Object and reference is
created in the jvm... These objects, once their lifetime has expired,
still hang around in memory. Periodically, the jvm will run thru the
heap clearing out all unused memory and shifting objects still in use so
they are in contiguous memory locations. To make a long story short, it
is probably just this periodic operation which is causing the cpu
consumption you are seeing...
The newer Sun/Blackdown Java vm (Java 1.2+ i.e. Java 2) uses a more
intelligent form of garbage collection and does a better job of
spreading the cpu load. You can find a link to the Sun officially
sanctioned version at the http://www.javasoft.com site. I have only
done preliminary testing but haven't run into problems (yet ;-)
Michael Lampkin
Business Development
Cobalt Networks, Inc.
Arni Raghu wrote:
>
> Hi,
> I am using the java 1.1.7v3 from blackdown on my raq3 and things are going
> fine except that I am sometimes seeing some CPU hogging by the java
> binary..do I use another jre or is this ok..??
>
> Thx,
> Arni
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers