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 08:44:00 GMT
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 :)

> On 26 Jul 2007 13:08:53 +0400, Egor Pasko <egor.pasko@gmail.com> wrote:
> >
> > On the 0x31F day of Apache Harmony Yunyun Hao wrote:
> > > Hi,all,
> > >
> > >   I want to measure and print the execution time of a specific
> > optimization
> > > pass,such as SSA.
> > >   Are there some command-line options to be specified for it?
> >
> > Ideally the following should work:
> >
> > -XX:jit.SD2_OPT.arg.time=on -Xem:server
> >
> > It works for HelloWorld, but fails for more tricky workloads like
> > DaCapo. I suspect some troubles in deinitialization.
> >
> > Did anybody observe this feature working well recently?
> >
> > --
> > Egor Pasko
> >
> >
> 
> 
> -- 
> Mikhail Fursov

-- 
Egor Pasko


Mime
View raw message