GC listener

Milan Mimica milan.mimica at infobip.com
Sat Mar 22 11:40:52 UTC 2014


Milan Mimica, Software Engineer / Team Leader
 
Milan Mimica, Software Engineer / Team Leader
 
On 03/21/2014 06:44 PM, Peter B. Kessler wrote:
> 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?

Sure, application tuning is one way to go. I just want to know what my 
options are.
A scheduled System.gc() with -XX:-ExplicitGCInvokesConcurrent also does 
the job, but it's ugly.



More information about the hotspot-gc-use mailing list