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

Revise synchronized blocks/methods in critical code path to avoid virtual threads pinning #8643

Closed
artembilan opened this issue Jun 8, 2023 · 0 comments · Fixed by #8652
Closed
Assignees
Milestone

Comments

@artembilan
Copy link
Member

artembilan commented Jun 8, 2023

No description provided.

@artembilan artembilan added this to the 6.2.x milestone Jun 8, 2023
tzolov added a commit to tzolov/spring-integration that referenced this issue Jun 16, 2023
  - Convert the "trivial" synchronized block into reetrant locks.

 Resolves spring-projects#8643
tzolov added a commit to tzolov/spring-integration that referenced this issue Jun 16, 2023
  - Convert the "trivial" synchronized block into reetrant locks.

 Resolves spring-projects#8643
@artembilan artembilan modified the milestones: 6.2.x, 6.2.0-M1 Jun 21, 2023
artembilan pushed a commit that referenced this issue Jun 21, 2023
Fixes #8643

* First pass - trivial synchronized blocks
  - Convert the "trivial" `synchronized` block into `ReentrantLock`.

* fix checkstyle

* use blocking lock

* Secon pass - handle multi-lock cases

* javadoc + year

* addres first batch of review suggestions

* fix checkstyle issues

* fix the mqtt parent/child lock monitor sharing

* fix the mqtt parent/child lock monitor sharing, v2

* patch the stomp test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants