Skip to content

Classloader leak not fully resolved after PR #65 #76

@pawinkler

Description

@pawinkler

PR #65 weakens the classloader leak by switching PluginErrors to extend KtDiagnosticsContainer and overriding getRendererFactory(), so RootDiagnosticRendererFactory no longer holds a reference to plugin classes. However, the leak is not fully eliminated, but only noticeably weakened and only occurs after multiple (10+) reruns now.

The reasons for this are not known at the moment. It might make sense perform a proper analysis in the future, which includes a heap dump and a tracking of leaked classes and their sources.

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