gvisor/pkg/refs
Dean Deng 79e7d0b06a Run GC before sandbox exit when leak checking is enabled.
Running garbage collection enqueues all finalizers, which are used by the
refs/refs_vfs2 packages to detect reference leaks. Note that even with GC,
there is no guarantee that all finalizers will be run before the program exits.
This is a best effort attempt to activate leak checks as much as possible.

Updates #3545.

PiperOrigin-RevId: 325834438
2020-08-10 10:33:22 -07:00
..
BUILD Plumbing context.Context to DecRef() and Release(). 2020-08-03 13:36:05 -07:00
refcounter.go Run GC before sandbox exit when leak checking is enabled. 2020-08-10 10:33:22 -07:00
refcounter_state.go Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
refcounter_test.go Plumbing context.Context to DecRef() and Release(). 2020-08-03 13:36:05 -07:00