[rvm-research] Implementing my custom instrumentation

Khaled Z Mahmoud <[email protected]> Sat, 30 Jun 2018 21:10:18 -0400
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CAER=_eWYEstmCkM7zsgAgt-pD51ZYUtigqH=snGbXuwyfa8jxg@mail.gmail.com>
Hi,

I have been looking at the opt package. The API has an IR class that
represents a compiled method.
This class enables iterating through all instructions of the method and
also enables inserting new instructions as well. I can for example insert a
method call.

The questions are :


   - I want to perform instrumentation on call classes and methods, at the
   baseline compiler. Can I still access the same API ?
   - My instrumentation logic will also depend if the current instruction
   is a yieldpoint. So, yieldpoint instrumentation should be already done.

Any ideas or suggestions on that ?



-- 
Regards,
Khaled Mahmoud

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers