Skip to content

Improvements for vthread fibers#7907

Merged
headius merged 2 commits intojruby:jruby-9.3from
headius:better_vthread_fiber
Aug 28, 2023
Merged

Improvements for vthread fibers#7907
headius merged 2 commits intojruby:jruby-9.3from
headius:better_vthread_fiber

Conversation

@headius
Copy link
Member

@headius headius commented Aug 28, 2023

  • Use method handles to launch
  • Guard behind an option so they can be disabled

Static reference to the bound handle should be inlinable into the
fiber thread launcher.
In case there's an issue with vthread fibers that we have not yet
seen, this allows disabling them and going back to normal native
thread fibers.
@headius headius added this to the JRuby 9.3.11.0 milestone Aug 28, 2023
@headius headius force-pushed the better_vthread_fiber branch from ce72243 to 3f4de82 Compare August 28, 2023 18:39
@headius
Copy link
Member Author

headius commented Aug 28, 2023

I'll do the Java 21 CI updates in a separate PR.

@headius headius marked this pull request as ready for review August 28, 2023 18:40
@headius headius merged commit 755579a into jruby:jruby-9.3 Aug 28, 2023
@headius headius deleted the better_vthread_fiber branch August 28, 2023 18:40
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.

1 participant