Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

runtime: unknown GOEXPERIMENT spinbitmutex #75094

Closed as not planned
Closed as not planned
Labels
BugReportIssues describing a possible bug in the Go implementation. compiler/runtimeIssues related to the Go compiler and/or runtime.
@itsalvinchris

Description

Go version

go version go1.25.0 linux/arm64

Output of go env in your module/workspace:

AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE=''
GOARCH='arm64'
GOARM64='v8.0'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/root/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/root/.config/go/env'
GOEXE=''
GOEXPERIMENT='nospinbitmutex'
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build767931946=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='arm64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/go/src/xxxx.xxxx.xxxx/y/z/tools/abc/go.mod'
GOMODCACHE='/go/pkg/mod'
GONOPROXY='none'
GONOSUMDB='xxxx.xxxx.xxxx'
GOOS='linux'
GOPATH='/go'
GOPRIVATE='xxxx.xxxx.xxxx'
GOPROXY='xxxx.xxxx.xxxx|proxy.golang.org|direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/root/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='local'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_arm64'
GOVCS=''
GOVERSION='go1.25.0'
GOWORK=''
PKG_CONFIG='pkg-config'

What did you do?

/workspace # go version
go version go1.25.0 linux/arm64
/workspace # export GOEXPERIMENT=nospinbitmutex
/workspace # go version
go: unknown GOEXPERIMENT spinbitmutex

What did you see happen?

go: unknown GOEXPERIMENT spinbitmutex

What did you expect to see?

Should be fine, as the 1.24 release notes mention the new GOEXPERIMENT=nospinbitmutex. In 1.25, there are no release notes that mention the removal of this experiment. However, in the goexperiment standard library, it has been removed - comparing 1.25 to 1.24. We are using this flag in our production builds for some services due to changes in latency behavior since the mutex implementation changes in 1.24.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugReportIssues describing a possible bug in the Go implementation. compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /