Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Kryonet doesn't recreate Selector with select spin detected #1

@theorangesock

Description

@theorangesock

I'm busy evaluating Kryonet, but I noticed that it doesn't yet incorporate the officially recommended workaround for the NIO select spin bug. Kryonet currently just adds an extra sleep.

Other projects such as Netty, MINA and Grizzly have all added this workaround.

Please see: netty/netty#327
and
https://github.com/netty/netty/blob/a61403de535a662fec31258ab81a3c3451a737b8/src/main/java/org/jboss/netty/channel/socket/nio/AbstractNioWorker.java

Could you please add the workaround to Kryonet too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions