From: Nobuyoshi Nakada Date: 2011-10-04T17:07:02+09:00 Subject: [ruby-core:39917] Re: Event hooks for object creation and garbage collection 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? -- Nobu Nakada