Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-141658: JIT: lazy executor flush while the world is stopped#142329

Closed
maurycy wants to merge 2 commits intopython:mainfrom
maurycy:lazy-executor-flush-jit
Closed

gh-141658: JIT: lazy executor flush while the world is stopped#142329
maurycy wants to merge 2 commits intopython:mainfrom
maurycy:lazy-executor-flush-jit

Conversation

@maurycy
Copy link
Contributor

@maurycymaurycy commentedDec 6, 2025
edited
Loading

See#141658 for more details.

The problem I'm having here is reproducing this reliably.

@maurycy
Copy link
ContributorAuthor

cc@Fidget-Spinner

@Fidget-Spinner
Copy link
Member

You could try reducing the capacity of the list and run it with instrumentation code to see if a deadlock happens?

Otherwise this is very unlikely to happen, but it's still good we fix it.

return 0;
}
#endif
return 1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is this correct? It's still not safe even with the GIL.

can_clear_executor_deletion_list(PyInterpreterState *interp)
{
#ifdef Py_GIL_DISABLED
if (_PyRuntime.stoptheworld.world_stopped || interp->stoptheworld.world_stopped) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Do you need FT atomic reads here?

@maurycymaurycy marked this pull request as draftDecember 8, 2025 14:25
@maurycy
Copy link
ContributorAuthor

This is no longer needed, as per#142931

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@Fidget-SpinnerFidget-SpinnerFidget-Spinner left review comments

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

@ZeroIntensityZeroIntensityAwaiting requested review from ZeroIntensityZeroIntensity is a code owner

@markshannonmarkshannonAwaiting requested review from markshannonmarkshannon is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@maurycy@Fidget-Spinner

[8]ページ先頭

©2009-2026 Movatter.jp