harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "Jitrino OPT/statprof" by Mikhail Fursov
Date Tue, 13 May 2008 11:18:16 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by Mikhail Fursov:
http://wiki.apache.org/harmony/Jitrino_OPT/statprof

------------------------------------------------------------------------------
- Many optimizations can use the edge profile information for greater efficiency. When the
execution manager is configured to use a dynamic profiling mode, the profile is gathered by
the JIT. But even in static mode, when a dynamic profile is not available, Jitrino.OPT can
use the statprof optimization pass to update HIR with a profile based on heuristics. In the
dynamic profiling mode, some optimizations may break profile information by changing the CFG
structure. In this case, statprof can be used to fix the profile information and keep it consistent.
+ ''' 'statprof' ''' - annotates Control Flow Graph with edge profile using static code analysis
heuristics.
+ [[BR]][[BR]]
+ Many optimizations can use the edge profile information for greater efficiency. 
+ [[BR]]
+ When the Execution Manager is configured to use a dynamic profiling mode, the profile is
collected by the JIT using [:Jitrino_OPT/edge_instrument: edge_instrument] and applied to
graph with [:Jitrino_OPT/edge_annotate: edge_annotate] passes.
+ [[BR]]
+ When dynamic profile is not available, Jitrino.OPT can use the 'statprof' pass to update
HIR with a profile based on heuristics. 
+ [[BR]][[BR]]
+ Another use case for 'statprof' transformation is a fixing of dynamic profile information
if one of optimizations breaks profile information by changing CFG structure. In this case,
'statprof' can be used to fix the profile information and keep it consistent.
  

Mime
View raw message