Check out JRockit's Management API and especially the GarbageCollectionListener class: http://e-docs.bea.com/jrockit/releases/R27/javadoc/manapi/docs/index.html
Regards, /Staffan (I work for Oracle) blake wrote: > This seems so obvious that, either there's some way to do it already > or I'm totally overlooking something and it is a really horrible idea. > > Why doesn't a JVM provide some means of getting notifications that a > GC has started/completed. I looked at the JMX interface (quickly I > admit) but I didn't see any such thing. > > In the big-server realm, it might be nice to point a load balancer > away from some box, while it was running its 10 sec GC. > > -blake --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" 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/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
