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

[Java 21] Fix runtime get hang due to invalid Strand states #43434

Merged

Conversation

warunalakshitha
Copy link
Contributor

@warunalakshitha warunalakshitha commented Oct 1, 2024

Purpose

$Subject

Check List

  • Read the Contributing Guide
  • Updated Change Log
  • Checked Tooling Support (#)
  • Added necessary tests
    • Unit Tests
    • Spec Conformance Tests
    • Integration Tests
    • Ballerina By Example Tests
  • Increased Test Coverage
  • Added necessary documentation
    • API documentation
    • Module documentation in Module.md files
    • Ballerina By Examples

@warunalakshitha warunalakshitha changed the title Add yieldAndRun Runtime API Fix runtime get hang due to invalid Strand states Oct 2, 2024
@warunalakshitha warunalakshitha changed the title Fix runtime get hang due to invalid Strand states [Java 21] Fix runtime get hang due to invalid Strand states Oct 2, 2024
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

Attention: Patch coverage is 86.36364% with 6 lines in your changes missing coverage. Please review.

Project coverage is 75.01%. Comparing base (fea2118) to head (6860ffb).
Report is 10 commits behind head on java21.

Files with missing lines Patch % Lines
.../ballerina/runtime/internal/scheduling/Strand.java 75.00% 0 Missing and 3 partials ⚠️
.../java/org/ballerinalang/langlib/runtime/Sleep.java 66.66% 2 Missing ⚠️
...rinalang/debugadapter/runtime/DebuggerRuntime.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             java21   #43434   +/-   ##
=========================================
  Coverage     75.00%   75.01%           
+ Complexity    56729    56725    -4     
=========================================
  Files          3447     3447           
  Lines        218874   218878    +4     
  Branches      28846    28846           
=========================================
+ Hits         164177   164187   +10     
+ Misses        45743    45736    -7     
- Partials       8954     8955    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@warunalakshitha warunalakshitha merged commit 57eee14 into ballerina-platform:java21 Oct 2, 2024
7 of 18 checks passed
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