New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stackprof: rb_gc_latest_gc_info not implemented (RuntimeError) #1937
Comments
I'm not sure how realistic it is to try to run So I'd like to close this, because it doesn't seem worth the effort to support rb_profile_frames() if it's inefficient in the end anyway. If you want a compatible API with StackProf then we could consider adding a TruffleRuby backend in that gem. Please open a separate issue if you want that. |
@eregon Hm, my point is more about not implemented |
Maybe we could stub that one (it seems to just return a Symbol), but using stackprof would fail anyway at runtime. I'd rather we focus on compatibility with gems we could run, stackprof seems rather unlikely to be useful to run on TruffleRuby as the overhead of profiling that way seems high. |
@eregon If I'm not mistaken it's one of flamegraph gem's dependencies. That's why I guess tested this gem. Anyway, I still think it'd be worth to implement this method. |
OK, implementing I don't see it as a dependency in https://github.com/SamSaffron/flamegraph/blob/master/flamegraph.gemspec |
This is now implemented at: 26bac34 |
To reproduce:
Error
The text was updated successfully, but these errors were encountered: