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/bbp" by George Timoshenko
Date Tue, 06 May 2008 08:43:30 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 George Timoshenko:
http://wiki.apache.org/harmony/Jitrino_OPT/bbp

------------------------------------------------------------------------------
  Back-Branch Polling is for yield points insertion at back branches of certain kinds of loops
to enable safe thread suspension. Several approaches are implemented there:
  
-     //  0 - the feature is turned off
+  * 0 - the feature is turned off
-     //  1 - insert interruptable subgraph at all backedges except those going from initiallyInterruptable
nodes
+  * 1 - insert interruptable subgraph at all backedges except those going from initiallyInterruptable
nodes
-     //      (initialInterruptability is not being propagated to the successors. This is
the feature of version 5)
+   (initialInterruptability is not being propagated to the successors. This is the feature
of version 5)
-     //  2 - path analysis based on searching of pairs [isOnThreadInterruptablePath]->[!isOnThreadInterruptablePath]
+  * 2 - path analysis based on searching of pairs [isOnThreadInterruptablePath]->[!isOnThreadInterruptablePath]
-     //  3 - recursive version of "2"
+  * 3 - recursive version of "2"
-     //  4 - "1" + suspension flag addr [TLS base + offset] is calculated before the loop
header
+  * 4 - "1" + suspension flag addr [TLS base + offset] is calculated before the loop header
-     //  5 - like "1" but some backedges are not patched (if all paths through it are uninteruptable)
+  * 5 - like "1" but some backedges are not patched (if all paths through it are uninteruptable)
-     //  6 - "4" + "5"
+  * 6 - "4" + "5"
  
  
- They can be switched using the following:
+ They can be switched using the following: ["-XX:jit.arg.bbp=[0-6]"]
  
- - XX:jit.arg.bbp=[0-6]
+ '''Possible improvement'''
  
+ It may have sence to try BBPolling at earlier stages - in HLO.
- Possible improvement
- 
- It may have sence BBPolling is worth to be done earlier - in HLO.
  To clarify one need to implemet HLO pass for this and find the best position (from the performance
POV) for it in the HLO path.
  

Mime
View raw message