MrQuansy opened a new pull request, #14550:
URL: https://github.com/apache/iotdb/pull/14550

   ## Description
   - It's often challenging to properly manage PooledBinary object lifecycles, 
which can lead to resource leaks or logic errors.
   - Implemented auto-release mechanism using PhantomReference to automatically 
return the byte array in PooledBinary to the pool when they become unreachable.
   
   ## Detail
   Interface changed: 
   BinaryAllocator::allocate(int reqCapacity) -> BinaryAllocator::allocate(int 
reqCapacity, boolean autoRelease)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to