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

[Task]: Evaluate applying Java virtual threads for Strands #42718

Closed
warunalakshitha opened this issue May 9, 2024 · 1 comment
Closed

[Task]: Evaluate applying Java virtual threads for Strands #42718

warunalakshitha opened this issue May 9, 2024 · 1 comment
Assignees
Labels
Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime Type/Task

Comments

@warunalakshitha
Copy link
Contributor

Description

We can use Java 21 virtual threads for scheduling ballerina functions.

Describe your task(s)

No response

Related area

-> Runtime

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@warunalakshitha warunalakshitha self-assigned this May 9, 2024
@ballerina-bot ballerina-bot added the Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime label May 9, 2024
@warunalakshitha
Copy link
Contributor Author

warunalakshitha commented Jun 6, 2024

Initial POC work has been done and I have removed the switch cases and used a virtual thread to schedule Ballerina function pointer. It worked fine. We need to come up with complete implementation plan for other aspects of Ballerina concurrency model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team/jBallerina All the issues related to BIR, JVM backend code generation and runtime Type/Task
Projects
Status: Done
Development

No branches or pull requests

2 participants