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

Synchronise ForkJoinPool port with JSR-166 changes for JDK 19 #3243

Merged

Conversation

WojciechMazur
Copy link
Contributor

JSR-166 had a recent update changing the implementation of ForkJoinPool with a goal of better support for VirtualThreads, it also adds new methods and interfaces, eg.:

  • ExecutorService now extends AutoClosable
  • java.util.concurrent.Future now defines a new enum type Future.State and methods state(): State, resultNow(): V, exceptionNow(): Throwable
  • New protected constructor for ForkJoinPool

@WojciechMazur WojciechMazur changed the title Synchronise ForkJoinPool with JSR-166 changes for JDK 19 Synchronise ForkJoinPool port with JSR-166 changes for JDK 19 Apr 2, 2023
@WojciechMazur WojciechMazur merged commit 9d51081 into scala-native:main Apr 12, 2023
68 checks passed
@WojciechMazur WojciechMazur deleted the jsr166/sync-ForkJoinPool branch April 12, 2023 18:24
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.

None yet

2 participants