Skip to content

Commit fac2ccb

Browse files
committed
doc: add a release note for greenteagc GOEXPERIMENT
For #71661. Change-Id: I802b0c36cac3bbd87b35ff216f06822e87fb7b5d Reviewed-on: https://go-review.googlesource.com/c/go/+/671439 Reviewed-by: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
1 parent 01e0e8b commit fac2ccb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/next/4-runtime.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,15 @@ On Linux systems with kernel support for anonymous VMA names
2424
mappings with context about their purpose. e.g., `[anon: Go: heap]` for heap
2525
memory. This can be disabled with the [GODEBUG setting](/doc/godebug)
2626
`decoratemappings=0`.
27+
28+
<!-- go.dev/issue/73581 -->
29+
30+
A new experimental garbage collector is now available as an experiment. The
31+
new design aims to improve the efficiency of garbage collection through better
32+
locality and CPU scalability in the mark algorithm. Benchmark result vary, but
33+
we expect somewhere between a 10—40% reduction in garbage collection overhead
34+
in real-world programs that heavily use the garbage collector.
35+
36+
The new garbage collector may be enabled by setting `GOEXPERIMENT=greenteagc`
37+
at build time. See the [GitHub issue](/issue/73581) for more details on the design
38+
and instructions on how to report feedback.

0 commit comments

Comments
 (0)