what's your specific JDK version. Capturing the output of "java -version" would be the easiest way to get an answer.
On Tue, Nov 5, 2019 at 8:09 PM yuhang li <89389114...@gmail.com> wrote: > > My jdk version is 1.8. > > I checked the jetty code and found that jetty does some work for jvm bugs > in jdk1.6 and 1.7. But what I use is jdk 1.8. This should be a bug of jetty. > > The workearounds jetty takes is to check the time cost of JAVA NIO > selector's select operation, and thinks it's BUG appearing when the time > cost is too small. see https://wiki.eclipse.org/Jetty/Feature/JVM_NIO_Bug > > According to jetty code, some system property can be set to control the > behaviour of this workearound. I'v set > "-Dorg.mortbay.io.nio.JVMBUG_THRESHHOLD=2147483647 > -Dorg.mortbay.io.nio.MONITOR_PERIOD=0", maybe it cound work.