Skip to content

Conversation

@tompng
Copy link
Member

@tompng tompng commented Jun 3, 2025

Fix #337

((Real*)x)->obj, a reference from T_DATA to VALUE, will be garbled after gc compaction. We should avoid using x->obj as possible for now. It should be removed from struct Real in the future.

…safe

((Real*)x)->obj, a reference from T_DATA to VALUE, will be garbled after gc compaction.
We should avoid using x->obj as possible for now. It should be removed from struct Real in the future.
@tompng tompng force-pushed the gc_compaction_safe_div branch from 9b7db4b to 3a3d50a Compare June 3, 2025 15:35
@tompng tompng merged commit 199ebfd into ruby:master Jun 4, 2025
78 checks passed
@tompng tompng deleted the gc_compaction_safe_div branch June 4, 2025 14:08
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.

Nondeterministic failures on version 3.2.1

1 participant