Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8255977

(aio) AsynchronousChannelProvider uses ArrayBlockingQueue - consider something else

XMLWordPrintable

    • 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


            tongwan Andrew Wang
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: