Skip to content

Make using of the compiler single-thread #3151

@vmishenev

Description

@vmishenev

Dokka analyses Java and Kotlin code in multi-thread mode. ( see AsyncSourceToDocumentableTranslator and #2936)

Currently, the compiler is not thread-safe (see #1599, KT-58327) so we have a patch for the compiler like #3143
But we do not have a warranty that we patched everything or will not have new places in the future. It can lead to flaky analysis.

Possible solution

Make coroutines dispatcher single-thread.

Metadata

Metadata

Assignees

Labels

tech-debtA technical issue that is not observable by the users, but improves maintainers quality of lifetopic: K2Issues / PRs that are related to the K2 migration. See #2888

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions