이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 6. Changes in Go Toolset 1.25
Go Toolset has been updated to version 1.25.0.
Language:
- There are no user-visible changes to the language in Go 1.25.
Runtime and Performance:
-
The runtime now automatically sets
GOMAXPROCSbased on the CPU quota available to the container on Linux. - A new experimental garbage collector ("Green Tea") is available, optimized for improving tail latency in certain workloads.
-
The runtime now automatically sets
Tools:
- The compiler and linker now default to generating DWARF 5 debug information.
-
The
go build -asancommand now detects memory leaks at program exit by default. -
The
go doccommand supports a new-httpflag to start a local documentation server. -
The
go versioncommand supports a-jsonflag to print build information in JSON format.
Standard Library:
-
A new experimental
encoding/json/v2package is available, offering performance improvements and new features.
-
A new experimental
For more information, see the upstream release notes.
Go Toolset is a rolling Application Stream, and Red Hat supports only the latest version. For more information, see the Red Hat Enterprise Linux Application Streams Life Cycle document.