| commit | af4ac2cfe2afaf227ce4f93a97dabea0edf00a08 | [log] [tgz] |
|---|---|---|
| author | Nicolas Hillegeer <aktau@google.com> | Wed Nov 27 14:28:28 2024 -0800 |
| committer | Gopher Robot <gobot@golang.org> | Mon Dec 02 21:20:15 2024 +0000 |
| tree | 4f2d3d5d4b1c83403fa32c15cb6098aadb877423 | |
| parent | 885ca4e683954f93f6eda2e85726e3b275e234f5 [diff] |
internal/gocore/test: split run into runCrasher and doRunCrasher Refactors the run function by splitting it in two, making it easier to reuse for more involved tests that need to set different parameters (flags, other environment variables). This commit also makes the otherwise unrelated change of setting GOMAXPROCS=2 in the child binary. This can reduce the size of the crash stack (fewer GC workers). Change-Id: I4edd5c51fdfed6b8bb57f2e682cb98dc084e50a5 Reviewed-on: https://go-review.googlesource.com/c/debug/+/632296 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Nicolas Hillegeer <aktau@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
This repository holds utilities and libraries for debugging Go programs.
WARNING! Please expect breaking changes and unstable APIs. Most of them are currently are at an early, experimental stage.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/debug.
The main issue tracker for the debug repository is located at https://go.dev/issues. Prefix your issue with “x/debug:” in the subject line, so it is easy to find.