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

@headius
Copy link
Member

@headius 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.

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 jruby#5671 and fixes jruby#5670.
@headius headius added this to the JRuby 9.2.7.0 milestone Apr 6, 2019
@headius
Copy link
Member Author

@headius 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 of 2 checks passed
1 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
@azure-pipelines[bot]
jruby.jruby Build #20190406.1 succeeded
Details
@headius headius deleted the 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
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant