Skip to content

[6.2.x] Improve performance of IntSequenceGenerator (#2408) - #2421

Merged
cshannon merged 1 commit into
apache:activemq-6.2.xfrom
cshannon:backport-2408-6.2.x
Aug 6, 2026
Merged

[6.2.x] Improve performance of IntSequenceGenerator (#2408)#2421
cshannon merged 1 commit into
apache:activemq-6.2.xfrom
cshannon:backport-2408-6.2.x

Conversation

@cshannon

@cshannon cshannon commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This adopts the same approach as LongSequenceGenerator and uses an Atomic field updater to avoid using synchronized.

The sequence generator is used by ResponseCorrelator so the existing tests will catch any errors.

See https://issues.apache.org/jira/browse/AMQ-7300

(cherry picked from commit 9c3add1)

This adopts the same approach as LongSequenceGenerator and uses an
Atomic field updater to avoid using synchronized.

The sequence generator is used by ResponseCorrelator so the existing
tests will catch any errors.

See https://issues.apache.org/jira/browse/AMQ-7300

(cherry picked from commit 9c3add1)
@cshannon cshannon self-assigned this Aug 6, 2026
@cshannon cshannon changed the title Improve performance of IntSequenceGenerator (#2408) [6.2.x] Improve performance of IntSequenceGenerator (#2408) Aug 6, 2026
@cshannon
cshannon merged commit edf11f6 into apache:activemq-6.2.x Aug 6, 2026
3 of 4 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Apache ActiveMQ v6.2.9 Aug 6, 2026
@cshannon
cshannon deleted the backport-2408-6.2.x branch August 6, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

1 participant