Skip to content

Conversation

@liyafan82
Copy link
Contributor

With previous work (ARROW-7329 and ARROW-7505) finished, Netty based allocation is only one of the possible implementations. So we need to revise BufferAllocator and ReferenceManager, to make them general, and independent of Netty libraries.

@github-actions
Copy link

listener.onAllocation(actualRequestSize);
return buffer;
} catch (OutOfMemoryError e) {
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be moved to someplace netty specific?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the good suggestion. I have moved it into class PooledByteBufAllocatorL.

@emkornfield
Copy link
Contributor

+1 thank you.

pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
…ferenceManager

With previous work (ARROW-7329 and ARROW-7505) finished, Netty based allocation is only one of the possible implementations. So we need to revise BufferAllocator and ReferenceManager, to make them general, and independent of Netty libraries.

Closes apache#6487 from liyafan82/fly_0225_denet and squashes the following commits:

58e5749 <liyafan82>  Move Netty related exception handling to PooledByteBufAllocatorL
5ba874f <liyafan82>  Remove Netty dependency for BufferAllocator and ReferenceManager

Authored-by: liyafan82 <fan_li_ya@foxmail.com>
Signed-off-by: Micah Kornfield <emkornfield@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants