]> Cypherpunks repositories - gostls13.git/commit
runtime: poor man's heap type info checker
authorDmitriy Vyukov <dvyukov@google.com>
Mon, 8 Apr 2013 20:36:35 +0000 (13:36 -0700)
committerDmitriy Vyukov <dvyukov@google.com>
Mon, 8 Apr 2013 20:36:35 +0000 (13:36 -0700)
commitbd1cd1ddeac67807bb84170bc79579f157898b91
treee970b5ab2f1555a63851665d5f05c6970f5a03a3
parent1d729b7f59f4fdd7292c1aeecdfb2b2c951b631a
runtime: poor man's heap type info checker
It's not trivial to make a comprehensive check
due to inferior pointers, reflect, gob, etc.
But this is essentially what I've used to debug
the GC issues.
Update #5193.

R=golang-dev, iant, 0xe2.0x9a.0x9b, r
CC=golang-dev
https://golang.org/cl/8455043
src/pkg/runtime/mgc0.c