]> Cypherpunks repositories - gostls13.git/commit
test: stress test for stack objects
authorKeith Randall <keithr@alum.mit.edu>
Thu, 13 Sep 2018 20:26:46 +0000 (13:26 -0700)
committerKeith Randall <khr@golang.org>
Wed, 3 Oct 2018 19:54:29 +0000 (19:54 +0000)
commitc91ce3cc7b13fce23edae94818e505f126036bdb
tree7376eb194de01119011e5229ceeaa2013e373f6d
parent9dac0a8132d7db5225b27bdd8faeb3158e624159
test: stress test for stack objects

Allocate a long linked list on the stack. This tests both
lots of live stack objects, and lots of intra-stack pointers
to those objects.

Change-Id: I169e067416455737774851633b1e5367e10e1cf2
Reviewed-on: https://go-review.googlesource.com/c/135296
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
test/stackobj2.go [new file with mode: 0644]