Skip to content

Consumed element nulling inconsistency between MPSC impls? #252

@njhill

Description

@njhill

I noticed that BaseMpscLinkedArrayQueue and MpscBlockingConsumerQueue use soElement(buffer, offset, null) but MpscArrayQueue uses spElement(buffer, offset, null), and could not think of a reason for the difference.

I know for correctness plain is fine so assumed if the so is intentional it must be GC-related, but then why the inconsistency?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions