Skip to content

Deadlock in Extract Method refactoring when multiple extraction scopes exist #712

@nafg

Description

@nafg

Note: This issue was identified by Claude Code (Anthropic's CLI tool) after analyzing a thread dump from a frozen IntelliJ instance. Moved to YouTrack as SCL-25001.

Summary

The "Extract Method" refactoring can deadlock IntelliJ when multiple extraction scopes are available and another operation (e.g., Find Occurrences) is holding the indexing lock concurrently. This is a race condition — it does not freeze every time.

See SCL-25001 for full details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions