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

safepoints are required in any lock than may be used with allocations #40487

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Apr 14, 2021

(which is pretty much all locks)

This incorrect usage of JL_LOCK_NOGC was causing a deadlock in some code I looked at recently.

@vtjnash vtjnash added multithreading Base.Threads and related functionality bugfix This change fixes an existing bug labels Apr 14, 2021
@vtjnash vtjnash requested a review from yuyichao April 14, 2021 23:19
@JeffBezanson JeffBezanson added the backport 1.6 Change should be backported to release-1.6 label Apr 14, 2021
@vtjnash vtjnash force-pushed the jn/lock-safepoints branch from b3759f7 to 77e17d1 Compare April 16, 2021 02:16
@vtjnash vtjnash merged commit 399ec04 into master Apr 19, 2021
@vtjnash vtjnash deleted the jn/lock-safepoints branch April 19, 2021 09:41
@KristofferC KristofferC mentioned this pull request May 4, 2021
45 tasks
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
KristofferC pushed a commit that referenced this pull request May 11, 2021
…#40487)

(which is pretty much all locks)

(cherry picked from commit 399ec04)
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label Jul 12, 2021
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
…#40487)

(which is pretty much all locks)

(cherry picked from commit 399ec04)
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 multithreading Base.Threads and related functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants