-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 critical finalization test #75952
Fix critical finalization test #75952
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!
@AntonLapounov looks like it's still failing? e.g. in #75573 and other PRs ^ |
@radical This PR changed runtime tests; but the mono runtime tests CI lanes weren't triggered in this PR. Could you please check? |
Still failing for me too... #75992 (x86 windows). |
I opened #76041 for the new intermittent failure. |
The test assumed that all allocated
P
andQ
objects are collected during the same GC pass (Q.first_p_count == P.count
), which may not be the case under GC stress. The fix is to unroot all allocated objects at the same time. I also fixed indentation, improved naming, and moved the test to the existingfinalization
directory.Fixes #75782.