]> Cypherpunks repositories - gostls13.git/commit
runtime: don't spin looking for a tiny alloc address with asan or race
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 22 May 2025 00:29:14 +0000 (00:29 +0000)
committerMichael Knyszek <mknyszek@google.com>
Thu, 22 May 2025 18:31:59 +0000 (11:31 -0700)
commitc684dfcb8a8fe38a8414bfd07b94e9995e5cd308
tree5f0610261ebf9463f24748a155bedb9d524584dd
parentbfbf736564925fd91701a08395f903955cb4cbc7
runtime: don't spin looking for a tiny alloc address with asan or race

CL 674655 modified the checkfinalizers test to spin looking for an
appropriate address to trip the detector, but this doesn't work with
ASAN or in race mode, which both disable the tiny allocator.

Fixes #73834.

Change-Id: I27416da1f29cd953271698551e9ce9724484c683
Reviewed-on: https://go-review.googlesource.com/c/go/+/675395
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/testdata/testprog/checkfinalizers.go