From: SASADA Koichi Date: 2011-10-05T00:30:06+09:00 Subject: [ruby-core:39934] Re: Event hooks for object creation and garbage collection (2011/10/04 1:07), Nobuyoshi Nakada wrote: > Hi, > > At Mon, 3 Oct 2011 22:14:34 +0900, > hemant wrote in [ruby-core:39865]: >> While porting memprof (https://github.com/ice799/memprof) to 1.9, the >> only change I had do in Ruby itself was to - add hooks for object >> creation and deletion. Of course, the code still depends heavily on - >> internal details of how objects are stored in MRI, but I think that is >> a price - a Profiler writer has to pay anyways. > > How do you achieve it? > >> I like the proposal of DTrace as well, but that again means - it will >> not work on GNU/Linux and other systems where DTrace is not available. > > Pretty positive. Can't you illustrate your proposal? I'm also positive and I have a plan to introduce it. It should be a design competition :) -- // SASADA Koichi at atdot dot net