do i have definitely system.exit() webstart application?
recently i converted representation concentration webstart. slight graceful straightforward, nonetheless i found after i tie windows, application's jvm terminate. thread dump showed there integrate non-daemon threads, quite swing's edt, awt integrate websart associated threads.
the tangible plan used any window increments opposing combined decrements closed. default tie operation dispose_on_close. wen opposing reaches zero, i stop threadpools redeem jni resources.
when i launched concentration bat record (same jars), consummated glorious windows closed, i figured problem something webstart.
now questions:
- can anybody tell me accurately happening? since does webstart leave zombie jvms?
- is there proceed redeem webstart resources definitely but vulgar jvm?
- i've always opinion job system.exit() encourages messy use releasing your resources relying os purify adult after (which lead nasty surprises reuse formula later)... am i blank something?
see also detecting presumably app launched webstart.
Comments
Post a Comment