diff options
Diffstat (limited to 'src/runtime/mprof.go')
| -rw-r--r-- | src/runtime/mprof.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mprof.go b/src/runtime/mprof.go index 6547b6b56b..8cef0b0601 100644 --- a/src/runtime/mprof.go +++ b/src/runtime/mprof.go @@ -917,7 +917,7 @@ func goroutineProfileWithLabelsConcurrent(p []StackRecord, labels []unsafe.Point // doesn't change during the collection. So, check the finalizer goroutine // in particular. n = int(gcount()) - if fingRunning { + if fingStatus.Load()&fingRunningFinalizer != 0 { n++ } |
