Hi:
Perhaps something that could be relevant in case someone decides to implement such an interface in Cog:
On 01 Mar 2014, at 19:44, Alexandre Bergel <alexandre.bergel@me.com> wrote:
> The VM is a formidable thing in which everything happen. Exposing to the image what’s going on in it is really pushing the innovation.
Just one, pretty old example: http://docs.oracle.com/javase/6/docs/platform/jvmti/jvmti.html#EventIndex
You can get access to many different information in terms of ‘events’ on the JVM.
For building a profiler, more than sufficient. And, at least in my personal opinion also something that would be desirable for Cog, perhaps in a slightly more modern design, but with a similar flavor.