diff options
Diffstat (limited to 'src/runtime/stack.go')
| -rw-r--r-- | src/runtime/stack.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/stack.go b/src/runtime/stack.go index bdfeb21c18..76a14b2498 100644 --- a/src/runtime/stack.go +++ b/src/runtime/stack.go @@ -416,7 +416,7 @@ func stackalloc(n uint32) stack { } if traceAllocFreeEnabled() { - trace := traceTryAcquire() + trace := traceAcquire() if trace.ok() { trace.GoroutineStackAlloc(uintptr(v), uintptr(n)) traceRelease(trace) @@ -466,7 +466,7 @@ func stackfree(stk stack) { return } if traceAllocFreeEnabled() { - trace := traceTryAcquire() + trace := traceAcquire() if trace.ok() { trace.GoroutineStackFree(uintptr(v)) traceRelease(trace) |
