Skip to content

runtime: make mutexActiveSpinSize configurable #78886

Description

@weijinrongyuan

Proposal Details

Currently, in src/runtime/lock_spinbit.go, the constant mutexActiveSpinSize is hardcoded to 30,My tests on ARM64 platform indicate that the hardcoded value of 30 is not optimal。Whether the mutexActiveSpinSize value can be made configurable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    LibraryProposalIssues describing a requested change to the Go standard library or x/ libraries, but not to a toolProposalWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions