Skip to content

Commit

Permalink
DRILL-8467: Update Netty to 4.1.101 (#2857)
Browse files Browse the repository at this point in the history
* Update Netty to 4.1.101
  • Loading branch information
rymarm authored and jnturton committed Jan 3, 2024
1 parent 8f3a298 commit 19afef6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,14 @@ private class InnerAllocator extends PooledByteBufAllocator {

@SuppressWarnings("unchecked")
public InnerAllocator() {
super(true);
super(true,
PooledByteBufAllocator.defaultNumHeapArena(),
PooledByteBufAllocator.defaultNumDirectArena(),
PooledByteBufAllocator.defaultPageSize(),
Integer.getInteger("io.netty.allocator.maxOrder", 11),
PooledByteBufAllocator.defaultSmallCacheSize(),
PooledByteBufAllocator.defaultNormalCacheSize(),
Boolean.parseBoolean(System.getProperty("io.netty.allocator.useCacheForAllThreads", "true")));

try {
Field f = PooledByteBufAllocator.class.getDeclaredField("directArenas");
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<jna.version>5.13.0</jna.version>
<commons.compress.version>1.25.0</commons.compress.version>
<hikari.version>4.0.3</hikari.version>
<netty.version>4.1.73.Final</netty.version>
<netty.version>4.1.101.Final</netty.version>
<httpclient.version>4.5.14</httpclient.version>
<libthrift.version>0.18.1</libthrift.version>
<derby.version>10.14.2.0</derby.version>
Expand Down

0 comments on commit 19afef6

Please sign in to comment.