this.backuptable=new Hashtable<LocalityBinding, Hashtable<TempDescriptor, TempDescriptor>>();
this.wb=new WriteBarrier(locality, st);
}
- if (state.SINGLETM) {
+ if (state.SINGLETM&&state.DCOPTS) {
this.dc=new DiscoverConflicts(locality, st);
dc.doAnalysis();
}
private int numtasks=0;
private int arraycount=0;
public boolean OPTIMIZE=false;
+ public boolean DCOPTS=false;
private Hashtable<ClassDescriptor, Hashtable<OptionalTaskDescriptor, OptionalTaskDescriptor>> optionaltaskdescriptors;
state.OPTIONAL=true;
else if (option.equals("-optimize"))
state.OPTIMIZE=true;
+ else if (option.equals("-dcopts"))
+ state.DCOPTS=true;
else if (option.equals("-raw"))
state.RAW=true;
else if (option.equals("-scheduling"))
echo -check generate check code
echo -dmalloc link in dmalloc
echo -64bit compile for 64 bit machine
+echo -joptimize java compiler optimizations
+echo -dcopts conflict optimizations for transactional memory
echo -recover compile task code
echo -fastcheck fast checkpointing for Bristlecone
echo -specdir directory
elif [[ $1 = '-joptimize' ]]
then
JAVAOPTS="$JAVAOPTS -optimize"
-
+elif [[ $1 = '-dcopts' ]]
+then
+JAVAOPTS="$JAVAOPTS -dcopts"
elif [[ $1 = '-mlp' ]]
then
JAVAOPTS="$JAVAOPTS -mlp"
-
elif [[ $1 = '-mlpdebug' ]]
then
JAVAOPTS="$JAVAOPTS -mlpdebug"
-
elif [[ $1 = '-check' ]]
then
CHECKFLAG=true