Skip to content
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

Use only RUBY_FREE_AT_EXIT on supported Rubies #33

Merged
merged 1 commit into from
May 2, 2024

Conversation

peterzhu2118
Copy link
Member

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 merged commit 5232dbc into main May 2, 2024
12 of 13 checks passed
@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.

None yet

1 participant