diff options
Diffstat (limited to 'src/runtime/mgcmark.go')
| -rw-r--r-- | src/runtime/mgcmark.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/mgcmark.go b/src/runtime/mgcmark.go index 41a4b1ab5a..b5318e56f8 100644 --- a/src/runtime/mgcmark.go +++ b/src/runtime/mgcmark.go @@ -1665,6 +1665,9 @@ func greyobject(obj, base, off uintptr, span *mspan, gcw *gcWork, objIndex uintp // Already marked. return } + if debug.checkfinalizers > 1 { + print(" mark ", hex(obj), " found at *(", hex(base), "+", hex(off), ")\n") + } } else { if debug.gccheckmark > 0 && span.isFree(objIndex) { print("runtime: marking free object ", hex(obj), " found at *(", hex(base), "+", hex(off), ")\n") |
