Skip to content

Add relaxed atomic inc/dec intrinsics #6598

Closed
@brson

Description

@brson

The exchange heap uses atomic inc/dec to track allocations. These don't require a fence. Verify that using relaxed atomics here is a win.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-concurrencyArea: ConcurrencyA-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions