From: v.ondruch@... Date: 2020-05-07T18:56:30+00:00 Subject: [ruby-core:98199] [Ruby master Bug#16658] `method__cache__clear` DTrace hook was dropped without replacement Issue #16658 has been updated by vo.x (Vit Ondruch). > > When this hook was invoked? > > https://github.com/ruby/ruby/pull/2888/files#diff-6cea7716df08f2b7fdc5fb30c7963884L98 Hm, this does not appear to really work, since the vm_method.c is collapsed. Anyway, this used to be the invocation place: https://github.com/ruby/ruby/blob/f2286925f08406bc857f7b03ad6779a5d61443ae/vm_method.c#L98 ---------------------------------------- Bug #16658: `method__cache__clear` DTrace hook was dropped without replacement https://bugs.ruby-lang.org/issues/16658#change-85436 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * Assignee: ko1 (Koichi Sasada) * ruby -v: ruby 2.8.0dev (2020-02-26 master 83705c42ce) [x86_64-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- The PR #2888 [1] dropped DTrace `method__cache__clear` hook without replacement. Was this intentional? If yes, then the probes.d [3] should be updated appropriately. If this was not intentional, the hook should be reintroduced. [1]: https://github.com/ruby/ruby/pull/2888 [2]: https://github.com/ruby/ruby/commit/b9007b6c548f91#diff-6cea7716df08f2b7fdc5fb30c7963884L98 [3]: https://github.com/ruby/ruby/blob/master/probes.d#L227 -- https://bugs.ruby-lang.org/ Unsubscribe: