Hi,
When I tried to run the latest Grizzly v2 with leader-follower IOStrategy
for benchmarking, I found it didn't work correctly.
At first, core size's selector threads existed but selector threads would
decrease from core size to 0 whenever a read or write IO event would be
arrived.
Finally only worker threads existed.
It looks like side-effect of rev.198925ba643fc8ce2e0e25bd3ef8bc1ab43d155e
"+ fix SafeFuture recycle + final fix for SelectorRunner start/stop".
Though SelectorRunner should be re-run by leader-follower logic,
SelectorRunner.java's run() method is not executed properly because of
runnerThreadActivityCounter's state.
Could you please review it?
Thanks.
Regards,
Bongjae Chang