Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Sep 3, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

k0kubun and others added 14 commits September 2, 2025 18:58
ZJIT: Remove JITed code after TracePoint is enabled
This fails way too often across many environments. I don't think this
test is healthy.
https://github.com/ruby/ruby/actions/runs/17343611722/job/49240735401

Before we give up on it, let me see if this helps.
TestTracepointObj#test_teardown_with_active_GC_end_hook was failing on
some platforms due to a Proc that is not marked being passed around.
Neither rb_tracepoint_new() nor rb_postponed_job_preregister() promise
to mark their callback `void *data`.

https://rubyci.s3.amazonaws.com/osx1300arm/ruby-master/log/20250902T154504Z.fail.html.gz

Add a GC.start to make the test a better detector for this safety issue
and fix it by getting the Proc from an ivar on the rooted module.
@pull pull bot locked and limited conversation to collaborators Sep 3, 2025
@pull pull bot added the ⤵️ pull label Sep 3, 2025
@pull pull bot merged commit de6df75 into turkdevops:master Sep 3, 2025
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants