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

(aio) AsynchronousChannelProvider uses ArrayBlockingQueue - consider something else

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      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


        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: