Re: [rvm-research] Adding Runtime Extension
Matthew Ma <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks Eliot, I did some investigation, and found JavaAssist also a nice way to doing it. I will compare the two in details to figure out which suits my purpose better. Matthew On Jun 28, 2014, at 10:29 AM, Eliot Moss <[email protected]> wrote: > On 6/27/2014 7:40 PM, Matthew Ma wrote: >> Hi Mike, >> I used “junk” object to represent unintentional object retention (eg. forget to set null even after >> its lifetime). >> The way I detect the leak is to compare user specification with actual virtual machine. > >> Any suggestions are welcome. Thanks. > > Bytecode rewriting. After the constructor call you could > insert code to set the "group" of an object, and you can > easily get the annotation information. ASM is good for > this. > > Best -- Eliot > > ------------------------------------------------------------------------------ > 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