Skip to content

Executor threads not being created as daemon #817

@headius

Description

@headius

There appears to be an executor service somewhere in concurrent-ruby that's not marking the threads as "daemon" on JVM. As a result, this causes that executor to keep the process from terminating.

This issue has been affecting builds of JRuby for some time; the CRuby standard library test suite we run appears to trigger concurrent-ruby to create this executor, resulting in the entire suite hanging at the end when it should gracefully shut down.

jruby/jruby#5718 (comment)

I am not sure where the code is for launching such an executor...someone else might be able to find this quickly. I will try.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug in the library or documentation.high-priorityShould be done ASAP.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions