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

fix missing gc root on store to iparams #49820

Merged
merged 1 commit into from
May 16, 2023
Merged

fix missing gc root on store to iparams #49820

merged 1 commit into from
May 16, 2023

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented May 15, 2023

Try to optimize the order of this code a bit more, given that these checks are somewhat infrequently to be needed.

Fix #49762

Try to optimize the order of this code a bit more, given that these
checks are somewhat infrequently to be needed.

Fix #49762
@vtjnash vtjnash added types and dispatch Types, subtyping and method dispatch GC Garbage collector backport 1.9 Change should be backported to release-1.9 labels May 15, 2023
@giordano
Copy link
Contributor

Any test that can be added?

@vtjnash
Copy link
Member Author

vtjnash commented May 16, 2023

Not really. You have to get the timing of GC just right for it to fail. But as long as CI passes, you know it is fixed.

@vtjnash
Copy link
Member Author

vtjnash commented May 16, 2023

@nanosoldier runbenchmarks("inference", vs=":master")

@nanosoldier
Copy link
Collaborator

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here.

@vtjnash vtjnash merged commit c245179 into master May 16, 2023
@vtjnash vtjnash deleted the jn/49762 branch May 16, 2023 20:15
vtjnash added a commit that referenced this pull request May 16, 2023
This simplifies the types, which may help subtyping other other similar
lookup code any time this is later used as a parameter, so it is
probably worthwhile to do.

This is a followup to #49820, where we reorganized the code to make this
more straightforward.
@KristofferC KristofferC mentioned this pull request May 19, 2023
51 tasks
@KristofferC
Copy link
Member

The check argument is not present on 1.9. How should it be handled?

@vtjnash
Copy link
Member Author

vtjnash commented May 20, 2023

I think you can hard-code it to 1 (true)

vtjnash added a commit that referenced this pull request May 22, 2023
This simplifies the types, which may help subtyping other other similar
lookup code any time this is later used as a parameter, so it is
probably worthwhile to do.

This is a followup to #49820, where we reorganized the code to make
this more straightforward.
@KristofferC KristofferC mentioned this pull request Jun 6, 2023
36 tasks
KristofferC pushed a commit that referenced this pull request Jun 27, 2023
Try to optimize the order of this code a bit more, given that these
checks are somewhat infrequently to be needed.

Fix #49762

(cherry picked from commit c245179)
@KristofferC
Copy link
Member

KristofferC commented Jun 27, 2023

Backporting this seems to cause the following: #50090 (comment). I removed it for now.

@vtjnash vtjnash removed the backport 1.9 Change should be backported to release-1.9 label Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GC Garbage collector types and dispatch Types, subtyping and method dispatch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GC root erroring in subtype?
4 participants