GC listener
Peter B. Kessler
Peter.B.Kessler at Oracle.COM
Fri Mar 21 17:44:53 UTC 2014
If you exclude yourself from the load balancer before the collection, you won't get any more work, won't do any more allocations, and won't cause the collection. Wouldn't it be better to tune your collector to meet your deadlines while getting work done?
... peter
On 03/21/14 03:37, Milan Mimica wrote:
> Hello
>
> Would it be possible for the application to register some kind of a listener to track GC activity, and that way predict when Full GC is going to happen?
> My application is a service behind a load balancer, and if it could see Full GC which stops the world coming, given some time to react, it could exclude itself from the balancer.
> //
>
> *Milan Mimica, *Software Engineer / Team Leader
>
> Visit Infobip website <http://www.infobip.com>
>
> Office: *Mletacka 12/III, 52100 Pula, Croatia* | Fax: *+38552210979* | Mobile: *+385993061692*
>
> Email: *Milan.Mimica at infobip.com* | Skype: *mmimicaib*
>
> *www.infobip.com* <http://www.infobip.com>/ *GSMA Associate Member* / *Mobey Forum Member*
> This message is private and confidential. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Infobip d.o.o. If you have received this message in error, please notify us immediately via email to customer.support at infobip.com <mailto:customer.support at infobip.com>or telephone +442032864235.
>
>
>
>
> _______________________________________________
> 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-use
mailing list