Tuning advice

Clemens Eisserer linuxhippy at gmail.com
Thu Mar 6 11:29:14 UTC 2008


Hi,

This is a bit off-topic ...

>  -XX:+DisableExplicitGC
I think this switch is rather dangerous - some parts of the JDK rely
on explicit garbage collection (e.g. Direct-*Buffers, instances
pointing to non-heap memory cleaned up by finalizers). - the code
which is quite guaranteed to work is then lowered to "may work, may
fail", depending on the type of workload.

A API which would allow better control over the type of GC would be
quite helpful, as well as maybe a Hotspot-internal API which would
help controllnig native resources allocated outside the VM.

lg Clemens
_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use



More information about the hotspot-gc-dev mailing list