Record execution traces of running JVMs