Skip to content

Remove redundant synchronize on empty consumers check #2280

Description

@mattrpav

Topic has a redundant synchronized on checking if consumers are empty. This isn't needed as the CopyOnWriteArray has a volatile size already. Removes an unnecessary synchronization per-message.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions