[ruby-core:98199] [Ruby master Bug#16658] `method__cache__clear` DTrace hook was dropped without replacement
From:
v.ondruch@...
Date:
2020-05-07 18:56:30 UTC
List:
ruby-core #98199
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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>