You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by Apache Wiki <wi...@apache.org> on 2008/05/13 13:18:16 UTC

[Harmony Wiki] Update of "Jitrino OPT/statprof" by Mikhail Fursov

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.