Discovering Tenured Threshold programmatically
gateway at gateways-home.org
Thu Feb 2 11:55:15 PST 2012
I tried to write my own monitoring tool to create dynamically views
based on command line parameters.
If someone needs the code for verification you find the source here:
My problem now is, that I also want to log the tenured threshold. I
searched quite a while, but I didn´t find a way for getting this value
from the jvm.
Basically I connect to the vm via com.sun.tools.attach.VirtualMachine
and I read the values out of the MBean structure (e.g. MemoryMXBean) but
I don´t find this threshold in there.
Maybe someone can help me out?
Many thanks in advance!
All the best!
More information about the hotspot-gc-use