-
Enhancement
-
Resolution: Incomplete
-
P5
-
None
-
8
-
x86_64
-
linux
A DESCRIPTION OF THE PROBLEM :
1. AsynchronousChannelProvider internally uses ArrayBlockingQueue to process IO events and the design of its threading model results in poor performance under multi-core CPUs.
2. There seems to be a bug in JDK under the Mac system, which will cause the system to crash.
Here is another implementation of java.nio.channels.spi.AsynchronousChannelProvider for reference: https://gitee.com/smartboot/aio-enhance
1. AsynchronousChannelProvider internally uses ArrayBlockingQueue to process IO events and the design of its threading model results in poor performance under multi-core CPUs.
2. There seems to be a bug in JDK under the Mac system, which will cause the system to crash.
Here is another implementation of java.nio.channels.spi.AsynchronousChannelProvider for reference: https://gitee.com/smartboot/aio-enhance