Skip to content

Unnecessary synchronization overhead as StringBuffer is thread-safe but not needed in M3UAShellExecutor.java #354

@sgurivir

Description

@sgurivir

RepoIQ (http://repoiq.ai) has identified potential optimization in showAs in m3ua/impl/src/main/java/org/restcomm/protocols/ss7/m3ua/impl/oam/M3UAShellExecutor.java

Using StringBuffer instead of StringBuilder for single-threaded string concatenation

Impact: Unnecessary synchronization overhead as StringBuffer is thread-safe but not needed here

Potential Solution: Replace StringBuffer with StringBuilder for better performance in single-threaded context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions