ibis.satin.impl.syncrewriter.analyzer
Class EarliestLoad

java.lang.Object
  extended by ibis.satin.impl.syncrewriter.analyzer.EarliestLoad
All Implemented Interfaces:
Analyzer

public class EarliestLoad
extends Object
implements Analyzer


Constructor Summary
EarliestLoad()
           
 
Method Summary
 org.apache.bcel.generic.InstructionHandle[] proposeSyncInsertion(SpawningMethod spawnableMethod, Debug debug)
          Proposes instruction before which a sync should be inserted.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarliestLoad

public EarliestLoad()
Method Detail

proposeSyncInsertion

public org.apache.bcel.generic.InstructionHandle[] proposeSyncInsertion(SpawningMethod spawnableMethod,
                                                                        Debug debug)
                                                                 throws SyncInsertionProposalFailure
Description copied from interface: Analyzer
Proposes instruction before which a sync should be inserted. If the analysis fails then a SyncInsertionProposalFailure can be thrown.

Specified by:
proposeSyncInsertion in interface Analyzer
Parameters:
spawnableMethod - The spawnable method on which the analysis should happen.
debug - An instance of a debug utility for printing error, warning and debug messages.
Returns:
The instructionhandles before which the syncrewriter should insert sync statements.
Throws:
SyncInsertionProposalFailure - When the analysis fails.


The Ibis project