lidavidm commented on code in PR #39266:
URL: https://github.com/apache/arrow/pull/39266#discussion_r1434087537
##########
java/memory/memory-netty/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java:
##########
@@ -166,7 +163,7 @@ private UnsafeDirectLittleEndian newDirectBufferL(int
initialCapacity, int maxCa
if (directArena != null) {
- if (initialCapacity > directArena.chunkSize) {
+ if (initialCapacity > chunkSize()) {
Review Comment:
Thanks. One final thing, I think chunkSize is deprecated in Netty? Is it
possible to use the non-deprecated version?
--
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]