Deep understanding of program behaviour is essential to the design of the next generation of garbage collectors and explicit allocators. GCspy provides a novel framework and visualisation tool for memory management implementers that minimises impact on the host system, scales to allow visualisation of very large heaps, and is portable and easily incorporated into any JVM or other system.
GCspy allows visualisation of different garbage collectors and ancillary data structures by mapping components onto simle abstractions. The visualisation tool can then be configured dynamically to display in real-time the behaviour of the target system.
The demonstration will show how GCspy can
The visualiser is written in Java, but the system to be visualised can be in any language (we have used JVMs written in C and Java). The framework uses a client-server mechanism (over sockets). Most of the framework is generic: