On Jul 14, 11:40 am, Sean Corfield <[email protected]> wrote:
> On Wed, Jul 13, 2011 at 4:40 AM, Kai Koenig <[email protected]> wrote:
> > FWIW - tried the G1 collector on Java 6 (_16 release iirc) for a large 
> > deployment on Win64/CF 8 for a while and had regular fatal JVM crashes. I'm 
> > pretty sure it has improved in later versions, but everyone be aware, that 
> > the G1 collector in Java 6 is _really_ experimental and it's not just a 
> > label Oracle sticked on to it :)
>
> It was only introduced in _14 I believe and most folks says it was
> pretty unstable up to about _20. I've seen good reports of folks using
> it with _22 and up.
> --
I have been running on a dev system CF9.0.1 with Java 7 preview
version 21.0-b17. So far am impressed, particularly using G1. Tho Java
7 being preview it has not been near more vital / loaded CF
environments – so early days.

For those interested readers a very brief recap on garbage collection.
The Java heap is divided into 3 regions: young, tenured/old, and perm.
You may also know that young is further divided into eden and two
survivor spaces. A minor garbage collection finds all live objects and
puts them to one of the survivor spaces. Longer survived objects will
eventually move into tenured/old space. Some special objects land in
Perm.

>From what I have gathered the G1 collector memory is divided into
multiple regions. Each of these regions will participate in a
generation. Some will be young, some to survivor, and others to old.
The collector is parallelized (multi-threaded) and will work
concurrently with your application (low pause). The minor collection
is similar to as current. There is a change to collection of regions
that are tenured/old space, there will be no separate collector.

Regards, Carl.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to