Skip to content

Commit 7130fe4

Browse files
committed
Removed useless comment.
1 parent 233dd50 commit 7130fe4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/runtime/mprof.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,10 +1323,6 @@ func goroutineLeakProfileWithLabelsConcurrent(p []profilerecord.StackRecord, lab
13231323
return work.goroutineLeak.count, false
13241324
}
13251325

1326-
// Unlike in goroutineProfileWithLabelsConcurrent, we don't need to
1327-
// save the current goroutine stack, because it is obviously not leaked.
1328-
// We also do not need acquire any semaphores on goroutineProfile, because
1329-
// we don't use it for storage.
13301326
pcbuf := makeProfStack() // see saveg() for explanation
13311327

13321328
// Prepare a profile large enough to store all leaked goroutines.

0 commit comments

Comments
 (0)