Fwd: how to know jvm is stopping the world?
Li Li
fancyerii at gmail.com
Mon Dec 12 19:29:48 PST 2011
is there a method called System.fullGC()?
I know there is a System.gc() which is a hint that JVM should perform gc
but JVM can ignore this.
On Tue, Dec 13, 2011 at 12:30 AM, Ralf Helbing <rhelbing at icubic.de> wrote:
> Why don't you set up a timer that
>
> // Tells the dispatcher to leave me alone
> System.fullGC();
> // Tells the dispatcher that I am back
>
> every now and then?
>
> cheeers,
> Ralf
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20111213/e7ed5dfa/attachment.html
More information about the hotspot-gc-dev
mailing list