GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Shutting down MultiThreadIoEventLoopGroup starts all unstarted threads · Issue #17135 · netty/netty Open DescriptionWhen a MultiThreadIoEventLoopGroup is shutdown, all of the threads that were not yet started are immediately started before being shutdown. EventLoopGroup group = new MultiThreadIoEventLoopGroup(300, NioIoHandler.newFactory()); System.out.println(Thread.activeCount()); // Prints 1 group.shutdownGracefully(); System.out.println(Thread.activeCount()); // Prints 301 I noticed this in a debugger, but it didn't cause any problems for me. Thought I should report it though. Interestingly, when using an absurd thread count like 10,000, I found that the creation of the group is what blocked for a while rather than the shutdown itself, so it is possible that this does not have a significant impact in general. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |