Listening to heap size changes / reallocation

2012-03-14 Thread Crazy Java
Hi, I was searching through the SA source code, but I didn't find a way how could I be notified when the heap (generations, spaces, memregions) will be changed. The point is I am visualizing the HotSpot heap and I have information about all the object sizes and addresses (using some native code a

Clarification on SA support for Windows & JDK6

2012-03-14 Thread Crazy Java
Hi, I would like to clarify if the Serviceability agent is supported in Windows platform running JDK6. According to http://netbeans.dzone.com/vvm-sa-plugin, "JDK versions supported: 6u17 and later on Solaris and Linux (SA binaries are not yet shipped with jdk6 on Windows)". However on my laptop (

Object address, size and heap space / JVMTI and Serviceability agent cooperation

2012-03-05 Thread Crazy Java
Hi, I am working on a project of visualizing the HotSpot heap. It is basically a GCSpy rewrite and I am trying o write a HotSpot driver. Just very quickly what the tool is providing - set of tiles per every heap space (young, old and permanent generation), where every tile has a well defined siz