Hi all, My name is Ruochen Huang, I’m developing an Erlang bytecode virtual machine called Pyrlang.
Recently I’m trying to apply a new tracing JIT policy to Pyrlang, I found there are some traces that were too long and therefore aborted by JIT according to rpython’s JIT log. In order to find those ‘too long’ traces in my benchmark programs, I’m trying to implement the JitHookInterface in rpython, and rewrite the on_abort function there. However, until now I can only print out the rpython level bytecode instructions from the ‘operations’ arguments, but what I want are the target language (e.g., Erlang in my project) bytecode instructions. Could somebody tell me that is it possible to retrieve it by calling some rpython API? Best Regards, Ruochen Huang Tokyo Institute of Technology _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev