@Eregon - Ah, you are right. Thanks for the pointers to the other issues. Reading them I can see that Class.new is eliminated but I also see this note: > Before inlining, ObjectSpace would report the allocation class path and method i...cfis (Charlie Savage)
This is a difference in Ruby 4.0. Previous versions of Ruby sent out a Class.new event. This change results in a lot of failures in the ruby-prof test suite. For example this test now fails: https://github.com/ruby-prof/ruby-prof/blob/m...cfis (Charlie Savage)
Ok, looking at the exposed events, there does not seem to be one that lets you know when an object is created. Can an "official" one be added? If ruby-prof tracked the object ids for each RUBY_INTERNAL_EVENT_NEWOBJ call and then asked ...cfis (Charlie Savage)
Thanks for the update @jhawthorn and link. Do you have a recommendation for what ruby-prof should do instead? ~~ Maybe it is simple as listen only for `NEWOBJ`?~~ This feature was added to ruby-prof 7 years ago, so I would prefer not t...cfis (Charlie Savage)
ruby-prof breaks on 4.0.x with segmentation faults. See failing github pipelines: https://github.com/ruby-prof/ruby-prof/actions/runs/21465420365/job/61826466398 (note the failures for ruby 3.x are some test that fail, not segmenta...cfis (Charlie Savage)
> However, to focus on the original issue, I think it would be good to clarify whether the removal of the override targets a single C runtime environment. The removal of the overrides would target each Ruby extension that is written in ...cfis (Charlie Savage)
Hi YO4 - thank you for your last comment - I appreciate it. I too need to strive for better communication, because clearly I am not communicating very well. I hope we can all assume the best intentions in others, and realize communicatio...cfis (Charlie Savage)
Hi @YO4 - thank you for your reply. I absolutely agree a cooperative approach is best. I am saddened / quite surprised to hear that you think I have criticized someone. I certainly had no intention to do that. If I did then I apologize. ...cfis (Charlie Savage)
Hi @mame - Thank you for your response and I am sorry that you feel that way, that was not my intention. I very much appreciate your help and our discussion. Maybe we can try again? I see the problem is that Ruby exports overridden C ru...cfis (Charlie Savage)