Skip to content

[lldb] Compute reflection context in TaskSyntheticFrontEnd #11136

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

Conversation

kastiglione
Copy link

@kastiglione kastiglione commented Aug 6, 2025

Change TaskSyntheticFrontEnd to not store an instance of ThreadSafeReflectionContext, which holds a lock for its lifetime. Instead of storing the reflection context, use a computed property to produce a short lived instance where needed.

rdar://157348451

@kastiglione kastiglione requested a review from a team as a code owner August 6, 2025 15:31
@kastiglione
Copy link
Author

@swift-ci test

@adrian-prantl adrian-prantl merged commit 9adbf75 into swift/release/6.2 Aug 6, 2025
3 checks passed
@adrian-prantl adrian-prantl deleted the dl/lldb-Compute-reflection-context-in-TaskSyntheticFrontEnd branch August 6, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants