harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [drlvm][jit][opt][timer]How to measure the execution time of a specific optpass?
Date Fri, 27 Jul 2007 08:42:05 GMT
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.

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message