Fwd: how to know jvm is stopping the world?

Li Li fancyerii at gmail.com
Tue Dec 13 03:29:48 UTC 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: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20111213/e7ed5dfa/attachment.htm>


More information about the hotspot-gc-dev mailing list