Skip to content

Conversation

@peterzhu2118
Copy link
Contributor

On Ruby 3.4 and later, we can exclusively use RUBY_FREE_AT_EXIT and disable most of the heuristics. This removes some of the limitations of the heuristics and makes ruby_memcheck more accurate.

This feature could cause more false-positives, so there is an escape hatch by passing use_only_ruby_free_at_exit: false to the configuration.

On Ruby 3.4 and later, we can exclusively use RUBY_FREE_AT_EXIT and
disable most of the heuristics. This removes some of the limitations of
the heuristics and makes ruby_memcheck more accurate.

This feature could cause more false-positives, so there is an escape
hatch by passing `use_only_ruby_free_at_exit: false` to the configuration.
@peterzhu2118 peterzhu2118 force-pushed the use-only-ruby-free-at-exit branch from 8334b5d to a9da73d Compare May 2, 2024 15:20
@peterzhu2118 peterzhu2118 merged commit 5232dbc into main May 2, 2024
@peterzhu2118 peterzhu2118 deleted the use-only-ruby-free-at-exit branch May 2, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant