Skip to content

Conversation

@Keno
Copy link
Member

@Keno Keno commented Jul 14, 2020

Plus a bonus missing GC root in dead code. Fixes #36649.

@Keno Keno requested review from JeffBezanson and vtjnash July 14, 2020 01:35
@Keno Keno added backport 1.5 bugfix This change fixes an existing bug labels Jul 14, 2020
Keno added 2 commits July 13, 2020 22:07
This code is dead, but also has GC-rooting issues (it modifies
iparams with a newly allocated object, but iparams is not
guaranteed to be roots). Delete it and add an assert that
should fire if anybody ever changes the surrounding code
to make it necessary again (at which point they can find
this commit and fix it properly).
Otherwise it's illegal to hold onto this object without having
set ->instance, which is just asking for crashes. Fixes #36649.
@Keno Keno force-pushed the kf/typeinstgcfix branch from a926005 to d778a3d Compare July 14, 2020 02:08
@Keno Keno merged commit 9676ec9 into master Jul 14, 2020
@Keno Keno deleted the kf/typeinstgcfix branch July 14, 2020 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This change fixes an existing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing GC root somewhere

5 participants