Explicitly disable Netty key set replacement

Netty replaces the backing set for the selector implementation. The
value of doing this is questionable, and doing this requires permissions
that we are not going to grant. This commit explicitly disables this
optimization rather than relying on it failing due to lack of
permissions.

Relates #20249
This commit is contained in:
Jason Tedor 2016-08-31 08:11:03 -04:00 committed by GitHub
parent 3fcb95b814
commit 0c027acbf9

View File

@ -59,8 +59,9 @@
# use our provided JNA always versus the system one
-Djna.nosys=true
# flag to explicitly tell Netty to not use unsafe
# flags to keep Netty from being unsafe
-Dio.netty.noUnsafe=true
-Dio.netty.noKeySetOptimization=true
## heap dumps