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

Reduce contention a little in AbstractPartitionedLimiter #204

Merged

Conversation

jasonk000
Copy link
Member

Swap busy from an int to AtomicInteger, which eliminates need for a release to take the lock.

And while we are here, slim down the work done while holding the lock.

@umairk79 umairk79 merged commit 58dab7f into Netflix:main Sep 3, 2024
1 check passed
@jasonk000 jasonk000 deleted the jkoch/less-locking-partitioned-limiter branch September 3, 2024 22:34
github-merge-queue bot referenced this pull request in camunda/camunda Sep 4, 2024
…mits-core to v0.5.2 (main) (#21898)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[com.netflix.concurrency-limits:concurrency-limits-core](https://redirect.github.com/Netflix/concurrency-limits)
| `0.5.1` -> `0.5.2` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.netflix.concurrency-limits:concurrency-limits-core/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.netflix.concurrency-limits:concurrency-limits-core/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.netflix.concurrency-limits:concurrency-limits-core/0.5.1/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.netflix.concurrency-limits:concurrency-limits-core/0.5.1/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>Netflix/concurrency-limits
(com.netflix.concurrency-limits:concurrency-limits-core)</summary>

###
[`v0.5.2`](https://redirect.github.com/Netflix/concurrency-limits/releases/tag/v0.5.2)

[Compare
Source](https://redirect.github.com/Netflix/concurrency-limits/compare/v0.5.1...v0.5.2)

##### What's Changed

- Remove unused imports and replace deprecated JUnit import by
[@&#8203;arouel](https://redirect.github.com/arouel) in
[https://github.com/Netflix/concurrency-limits/pull/203](https://redirect.github.com/Netflix/concurrency-limits/pull/203)
- Prevent duplicate publishing on release by
[@&#8203;umairk79](https://redirect.github.com/umairk79) in
[https://github.com/Netflix/concurrency-limits/pull/201](https://redirect.github.com/Netflix/concurrency-limits/pull/201)
- Reduce contention a little in AbstractPartitionedLimiter by
[@&#8203;jasonk000](https://redirect.github.com/jasonk000) in
[https://github.com/Netflix/concurrency-limits/pull/204](https://redirect.github.com/Netflix/concurrency-limits/pull/204)

##### New Contributors

- [@&#8203;arouel](https://redirect.github.com/arouel) made their first
contribution in
[https://github.com/Netflix/concurrency-limits/pull/203](https://redirect.github.com/Netflix/concurrency-limits/pull/203)
- [@&#8203;jasonk000](https://redirect.github.com/jasonk000) made their
first contribution in
[https://github.com/Netflix/concurrency-limits/pull/204](https://redirect.github.com/Netflix/concurrency-limits/pull/204)

**Full Changelog**:
Netflix/concurrency-limits@v0.5.1...v0.5.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/camunda/camunda).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIl19-->
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.

4 participants