harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Egor Pasko <egor.pa...@gmail.com>
Subject Re: [drlvm][jit][opt][timer]How to measure the execution time of a specific optpass?
Date Fri, 27 Jul 2007 11:59:29 GMT
On the 0x320 day of Apache Harmony Mikhail Fursov wrote:
> On 27 Jul 2007 12:44:00 +0400, Egor Pasko <egor.pasko@gmail.com> 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.

I am also a little confised with this mystery :)

BTW, there is a bug for System.exit() and DeInit: HARMONY-3069

-- 
Egor Pasko


Mime
View raw message