Skip to content

Commit

Permalink
Enable io.netty.allocator.disableCacheFinalizersForFastThreadLocalThr…
Browse files Browse the repository at this point in the history
…eads

This is going to be useful once
netty/netty#14155 lands in Quarkus.
  • Loading branch information
gsmet committed Jan 16, 2025
1 parent ad0a86b commit 7d664bd
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ public SystemPropertyBuildItem setNettyMachineId() {
return new SystemPropertyBuildItem("io.netty.machineId", nettyMachineId);
}

@BuildStep
public SystemPropertyBuildItem disableFinalizers() {
return new SystemPropertyBuildItem("io.netty.allocator.disableCacheFinalizersForFastThreadLocalThreads", "true");
}

@BuildStep
NativeImageConfigBuildItem build(
NettyBuildTimeConfig config,
Expand Down

0 comments on commit 7d664bd

Please sign in to comment.