openjdk version "1.8.0_171" OpenJDK Runtime Environment (build 1.8.0_171-b10) OpenJDK 64-Bit Server VM (build 25.171-b10, mixed mode) Sean Busbey 于2019年11月6日周三 上午11:44写道: > 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 <893891140li@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. >