Skip to content

Do not create anon thread #3169

@cstamas

Description

@cstamas

Affected version

I think all since shutdown thread is used

Bug description

See

Thread shutdownThread = new Thread(platform::setShutdownState);

This creates anon thread (and also hopefully removes it), but in large builds, profiling shows a TON on anon threads being created and not started. At least provide sensible name for this thread that can lead back to surefire.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions