Re: [rvm-research] Adding Runtime Extension
Michael Bond <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Matthew, Could you also let us know what's a "junk object"? If it's related to memory leaks or bloat, there are already several projects on those topics implemented in Jikes RVM, available on the Jikes RMV Research Archive: http://sourceforge.net/p/jikesrvm/research-archive/. It might help you to take a look at those (even if you're doing something different, they have examples of how to instrument allocation, tracing, and collection and how to add object header metadata). Cheers, Mike On 06/25/2014 03:07 PM, Matthew Ma wrote: > 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 > _______________________________________________ > 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 _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers