-
Notifications
You must be signed in to change notification settings - Fork 31
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
Align to use virtual threads #540
Align to use virtual threads #540
Conversation
* In scope of this ticket I removed synchronized blocks as they pin virtual thread to carrier thread. * Expose user way to inject ThreadFactory for creating virtual threads
@wyhasany Thanks for your contribution! If not done yet, can you sign our CLA? https://github.com/optimizely/java-sdk/blob/master/CONTRIBUTING.md |
@jaeopt just done it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! A couple of clean up suggested to be consistent with other parts.
core-httpclient-impl/src/main/java/com/optimizely/ab/NamedThreadFactory.java
Outdated
Show resolved
Hide resolved
core-httpclient-impl/src/main/java/com/optimizely/ab/NamedThreadFactory.java
Outdated
Show resolved
Hide resolved
core-httpclient-impl/src/main/java/com/optimizely/ab/event/AsyncEventHandler.java
Outdated
Show resolved
Hide resolved
…adFactory.java Co-authored-by: Jae Kim <45045038+jaeopt@users.noreply.github.com>
Co-authored-by: Jae Kim <45045038+jaeopt@users.noreply.github.com>
@jaeopt Thank you for review. I applied all yours suggestions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@wyhasany Thanks for your contribution. It's merged and will be included in the next release (next week). |
Issues