I think it would be very useful to have a Java interface to the
Java Virtual Machine Profiler Interface (JVMPI).
I suppose the performance requirements make this difficult. I believe there is some support for profiling and performance
monitoring coming in JDK1.5 – yet another thing I'd like sooner rather than later!