users@grizzly.java.net

GrizzlyWebServer statistics problems - again :)

From: Zoltan Arnold NAGY <Zoltan.Nagy_at_Sun.COM>
Date: Fri, 29 May 2009 11:01:16 +0200

Hi,

Jeanfrancois fixed the previous statistics regression in 1.9.15, but it
seems a new one appeared :)

the following simple program will never stop:

public class Main {
    public static void main(String[] args) {
        GrizzlyWebServer ws = new GrizzlyWebServer();
        try {
            ws.start();
            ws.getStatistics().startGatheringStatistics();
            ws.getStatistics().stopGatheringStatistics();
            ws.stop();
        } catch(IOException e) {
            e.printStackTrace();
        }
    }
}

I can see Grizzly-threads running along with DestroyJavaVM...
It should work, and quit normally, right?

Thanks,

Zoltan