On 27 Jul 2007 12:44:00 +0400, Egor Pasko <[EMAIL PROTECTED]> wrote:
>
> On the 0x320 day of Apache Harmony Mikhail Fursov wrote:
> > Yes it works fine. The only reason when it does not work fine is
> > System.exitmethod in Java code (AFAIK Dacapo uses it). In this case no
> > 'deinit' method
> > is called for JIT and no info is dumped.
>
> we can instrument System.exit() with a small helper for that :)


Good idea :) But I prefer more elegant solution with DRLVM VM shutdown.

I still do not understand actually why can't we catch all managed threads on
any gc-safe-point in code and shutdown gracefully with notification to all
components when System.exit is called.

-- 
Mikhail Fursov

Reply via email to