netty-incubator-buffer-api/src
Chris Vest 0867f99be1 Add LifecycleTracer to help debug lifecycle/ownership issues
Motivation:
With reference counting it can be difficult to keep track of ownership and references.
When bugs arise in this area, it's good to get help from some tooling.

Modification:
Add a LifecycleTracer which records lifecycle changes.
This information can be attached to any lifecycle/ownership exceptions as suppressed exceptions.
The tracing is off by default, unless assertions are enabled.

Result:
It's now easier to debug reference counting/lifecycle/ownership issues.
2021-03-05 16:32:10 +01:00
..
main/java/io/netty/buffer/api Add LifecycleTracer to help debug lifecycle/ownership issues 2021-03-05 16:32:10 +01:00
test/java/io/netty/buffer/api Update docs and examples 2021-03-01 11:21:25 +01:00