Re: [rvm-research] Adding Runtime Extension

Matthew Ma <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi Eliot,
Thanks for the suggestion; from inspecting the java agent capability, I see that I can use it to instrument the source code (and modify the object). 
However, I need an ability to listen to vm events (such as when a object is created and collected) and modify the object header of an object. Therefore, I found Jike more suited to my purpose. Please kindly correct me if I am wrong.

Thanks again for the feedback, I really appreciate it.

Matthew
On Jun 25, 2014, at 1:02 PM, Eliot Moss <[email protected]> wrote:

> On 6/25/2014 8:38 AM, Matthew Ma wrote:
>> Hi,
>> 
>> My goal is to build a runtime verifier tool to help detect junk objects for user program running on the RVM
>> For the design, I hope the vm can allow my verifier to be an extension like java agent, where one can do: java -javaagent:agent.jar TestProgram to run TestProgram with my verifier).
>> Would it be easier to directly modify the RVM (and make my verifier part of the VM), and if so, what classes should I modify to instantiate my verifier along with running RVM?
> 
> Why JikeRVM, Matthew?  Couldn't you do this using HotSpot or the IBM
> VM, which have much more robust support for agents?
> 
> And what does "junk objects" mean anyway? :-)
> 
> Regards -- Eliot Moss
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.