Closed wsky closed 11 years ago
same as #79
int prev = Thread.getAllStackTraces().keySet().size(); System.out.println(prev); for (int i = 0; i < 10; i++) { new NettyServerChannel(DefaultLoggerFactory.getDefault(), 8000 + i) { @Override protected void preparePipeline(ChannelPipeline pipeline) { pipeline.addLast("handler", new SimpleChannelUpstreamHandler()); } }.run(); } System.out.println(Thread.getAllStackTraces().keySet().size());
load will up to 8
same as #79
load will up to 8