Skip to content

type assert that l.owned is an Int for AbstractSpinLock#60399

Merged
KristofferC merged 1 commit intomasterfrom
kc/lock_owned_typeassert
Dec 17, 2025
Merged

type assert that l.owned is an Int for AbstractSpinLock#60399
KristofferC merged 1 commit intomasterfrom
kc/lock_owned_typeassert

Conversation

@KristofferC
Copy link
Copy Markdown
Member

@KristofferC KristofferC commented Dec 16, 2025

This is often imprecisely inferred (due to e.g. Base.Redirectable).

Needed after #55944 I believe.

@KristofferC KristofferC added multithreading Base.Threads and related functionality invalid Indicates that an issue or pull request is no longer relevant latency Latency backport 1.13 Change should be backported to release-1.13 invalidations and removed invalid Indicates that an issue or pull request is no longer relevant labels Dec 16, 2025
@KristofferC KristofferC requested a review from vtjnash December 16, 2025 15:31
@KristofferC KristofferC changed the title type assert that l.owned is an Int for AbstractSpinLock type assert that l.owned is an Int for AbstractSpinLock Dec 16, 2025
@KristofferC KristofferC merged commit 9851910 into master Dec 17, 2025
15 of 17 checks passed
@KristofferC KristofferC deleted the kc/lock_owned_typeassert branch December 17, 2025 11:22
KristofferC added a commit that referenced this pull request Jan 7, 2026
KristofferC added a commit that referenced this pull request Jan 8, 2026
@KristofferC KristofferC removed the backport 1.13 Change should be backported to release-1.13 label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalidations latency Latency multithreading Base.Threads and related functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant