Skip to content

Performance degradation in 1.10.1 after changing the behavior of yield #4401

Open
@knisht

Description

@knisht

Describe the bug

In IntelliJ, we observe a performance degradation connected to #4255 . It seems that previously skipped tryUnpark starts to be visible in performance snapshots.

Provide a Reproducer

I did not build exact reproducer, but it likely involves a ton of yields; unfortunately, this sometimes happens in production. There is more information in https://youtrack.jetbrains.com/issue/IJPL-182130.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions