]> Cypherpunks repositories - gostls13.git/commit
runtime: actually fix locking in BenchmarkMSpanCountAlloc
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 16 Sep 2020 17:08:55 +0000 (17:08 +0000)
committerMichael Knyszek <mknyszek@google.com>
Wed, 16 Sep 2020 17:36:58 +0000 (17:36 +0000)
commit10dfb1dd3d1d26122cf18f29468ec17eb7222c3f
tree4807314ba1e6321c2e97574fb62e4a106c99fb75
parent37f261010f837f945eaa2d33d90cd822b4e93459
runtime: actually fix locking in BenchmarkMSpanCountAlloc

I just submitted CL 255297 which mostly fixed this problem, but totally
forgot to actually acquire/release the heap lock. Oops.

Updates #41391.

Change-Id: I45b42f20a9fc765c4de52476db3654d4bfe9feb3
Reviewed-on: https://go-review.googlesource.com/c/go/+/255298
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/export_test.go