Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide better thread name for enumerator/fiber workers. #5679

Merged
merged 1 commit into from Apr 6, 2019

Conversation

Projects
None yet
1 participant
@headius
Copy link
Member

headius commented Apr 6, 2019

This patch sets the name of the threads used to drive fibers (or the similar Enumerator#next coroutines) in order to more easily audit and debug those threads. Relates to #5671 and fixes #5670.

Provide better thread name for enumerator/fiber workers.
This patch sets the name of the threads used to drive fibers (or
the similar Enumerator#next coroutines) in order to more easily
audit and debug those threads. Relates to #5671 and fixes #5670.

@headius headius added this to the JRuby 9.2.7.0 milestone Apr 6, 2019

@headius

This comment has been minimized.

Copy link
Member Author

headius commented Apr 6, 2019

There are a few minor changes here also:

  • Actually loop when submitting the fiber runnable to the executor, with one attempt to GC.

@headius headius merged commit f9fa789 into jruby:master Apr 6, 2019

1 check failed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details

@headius headius deleted the headius:fiber_thread_name branch Apr 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.