]> Cypherpunks repositories - gostls13.git/commit
runtime: fix list test memory management for mayMoreStack
authorMichael Pratt <mpratt@google.com>
Wed, 12 Nov 2025 20:20:54 +0000 (15:20 -0500)
committerMichael Pratt <mpratt@google.com>
Wed, 12 Nov 2025 21:54:59 +0000 (13:54 -0800)
commitf03d06ec1a69d77b4c43971cc474c3111a424c3a
treea0abb10433b62babf83bfdf80e0c6b0f2e618eeb
parent48127f656b53bfb5d73e7281ad525dbc371eb4c6
runtime: fix list test memory management for mayMoreStack

The NIH tests simply failed to allocate the nodes outside the heap at
all. The Manual tests failed to keep the nodes alive, allowing the GC to
collect them.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest
Change-Id: I6a6a636c434bb703d6888383d32dbf95fb0a15ea
Reviewed-on: https://go-review.googlesource.com/c/go/+/719962
TryBot-Bypass: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/list_manual_test.go