finding out memory allocation hotspots in java

Posted by Zamir on Stack Overflow See other posts from Stack Overflow or by Zamir
Published on 2012-11-12T14:32:20Z Indexed on 2012/12/19 23:03 UTC
Read the original article Hit count: 207

Our GC is working hard and we have some pauses that we want to decrease. We have some memory allocation issues that we want to solve before or while we are tweaking with the actual JVM GC args.

I would like to know which objects are making the GC sweat:

  1. is there a way to know which objects are evacuated every time the GC is working?
  2. is there a way to know which objects are moved between areas every time the GC is working?
  3. Is there a way to know which objects are in Eden area?

I am working extensively with Jprofiler and Memory Analyzer. I would like to get this information on a running application in my staging environment.

© Stack Overflow or respective owner

Related posts about java

Related posts about Performance