10 Commits

Author SHA1 Message Date
Paul Wells
6fbf4a2604 initialize lock tracker timestamp (#608) 2024-02-20 16:18:34 -08:00
Paul Wells
927be345ba fix lock tracker incremental scan (#555) 2023-12-21 16:50:17 -08:00
Paul Wells
a2b800d10c generate lightweight stack traces for stuck locks (#544)
* generate lightweight stack traces for stuck locks

* x/slices
2023-12-11 20:41:41 -08:00
Paul Wells
9087b5d95a disable tracking lock stack traces by default (#481) 2023-09-23 15:25:17 -07:00
David Zhao
c9e9ae555f Add license headers & NOTICE (#429)
* Add license headers & NOTICE

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-27 16:43:25 -07:00
Paul Wells
e2f4e65f58 record stack trace in lock tracker (#373)
* record stack trace in lock tracker

* copy stack
2023-05-07 02:02:38 -07:00
Paul Wells
c71216774a fix lock tracker init for race detector (#290)
* add room/identity to node rtc messages

* fix lock tracker init for race detector

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-01 19:46:47 -08:00
Paul Wells
f55bf39335 add norace directive to scanTrackedLocks (#280)
race detector panics if we access an object that is being gced. it
is safe here because until the finalizer finishes the `trackedLock`
won't be freed and finalizer and scan functions all hold
`weakRefLock`.
2023-01-27 20:27:00 -08:00
Paul Wells
10b378e3bc add toggle for lock tracking (#279) 2023-01-27 13:35:45 -08:00
Paul Wells
b75d0aed9e add lock tracker (#278)
* add lock tracker

* add noop to appease statick check

* cleanup

* cleanup
2023-01-27 02:58:19 -08:00