Skip to content

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

Merged
headius merged 1 commit intojruby:masterfrom
headius:fiber_thread_name
Apr 6, 2019
Merged

Provide better thread name for enumerator/fiber workers.#5679
headius merged 1 commit intojruby:masterfrom
headius:fiber_thread_name

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 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
@headius headius deleted the fiber_thread_name branch April 6, 2019 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update fiber/enumerator threads with info about creation

1 participant