Skip to content

Commit 3e40e33

Browse files
committed
Fixed TODO comment.
1 parent 4de988f commit 3e40e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/mbitmap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ func isMarkedOrNotInHeap(p unsafe.Pointer) bool {
12611261
// In this case, it is either a pointer to a stack object or a global resource.
12621262
// Treat it as reachable in memory by default, to be safe.
12631263
//
1264-
// (vsaioc) TODO: we could possibly be more precise by only checking against the stacks
1264+
// TODO(vsaioc): we could be more precise by checking against the stacks
12651265
// of runnable goroutines. I don't think this is necessary, based on what we've seen, but
12661266
// let's keep the option open in case the runtime evolves.
12671267
// This will (naively) lead to quadratic blow-up for goroutine leak detection,

0 commit comments

Comments
 (0)