netty-incubator-buffer-api/src/main/java/io/netty/buffer/api
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
..
adaptor Update docs and examples 2021-03-01 11:21:25 +01:00
memseg Add LifecycleTracer to help debug lifecycle/ownership issues 2021-03-05 16:32:10 +01:00
AllocatorControl.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
Buffer.java Move composite buffer methods to Buffer 2021-02-15 17:46:23 +01:00
BufferAccessors.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
BufferAllocator.java Move composite buffer methods to Buffer 2021-02-15 17:46:23 +01:00
BufferHolder.java Make the incubating buffers exposable as ByteBuf 2021-03-01 10:49:09 +01:00
BufferRef.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
ByteCursor.java Update ByteCursor method names and related javadocs 2020-12-09 11:03:30 +01:00
CleanerPooledDrop.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
CompositeBuffer.java Explode ComponentProcessor into its contained interfaces 2021-02-12 18:28:29 +01:00
Deref.java Introduce Deref abstraction 2021-02-11 14:26:57 +01:00
Drop.java Address review comments on bifurcate PR 2020-12-10 12:51:18 +01:00
LifecycleTracer.java Add LifecycleTracer to help debug lifecycle/ownership issues 2021-03-05 16:32:10 +01:00
ManagedBufferAllocator.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
MemoryManager.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
Owned.java Rename the 'b2' package to 'api' 2020-11-17 15:40:13 +01:00
package-info.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
Rc.java Make the incubating buffers exposable as ByteBuf 2021-03-01 10:49:09 +01:00
RcSupport.java Add LifecycleTracer to help debug lifecycle/ownership issues 2021-03-05 16:32:10 +01:00
ReadableComponent.java Make ReadableComponent expose ByteCursors 2021-02-27 11:04:44 +01:00
ReadableComponentProcessor.java Explode ComponentProcessor into its contained interfaces 2021-02-12 18:28:29 +01:00
ResourceDisposeFailedException.java Rename the 'b2' package to 'api' 2020-11-17 15:40:13 +01:00
Scope.java Add BufHolder and BufRef helper classes 2020-12-14 14:22:37 +01:00
Send.java Introduce Deref abstraction 2021-02-11 14:26:57 +01:00
SizeClassedMemoryPool.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
Statics.java Rename Buf to Buffer and Allocator to BufferAllocator 2021-02-12 18:22:07 +01:00
TransferSend.java Introduce Deref abstraction 2021-02-11 14:26:57 +01:00
WritableComponent.java Explode ComponentProcessor into its contained interfaces 2021-02-12 18:28:29 +01:00
WritableComponentProcessor.java Explode ComponentProcessor into its contained interfaces 2021-02-12 18:28:29 +01:00