1 ##########################################################################
3 # This master makefile should be included in each local makefile of a
4 # MICRO benchmark directory. Note that joptimize is disabled so
5 # nonsensical code patterns will still generate the micro structure
8 ##########################################################################
11 SOURCE_FILES=test.java
14 BUILDSCRIPT=../../../buildscript
17 COREPROFOVERFLOW= #-coreprof-checkoverflow
18 USECOREPROF= -coreprof $(COREPROFOVERFLOW) \
19 -coreprof-eventwords 1024*1024*512 \
20 -coreprof-enable cpe_main \
21 -coreprof-enable cpe_taskdispatch
22 # -coreprof-enable cpe_workschedgrab \
23 -coreprof-enable cpe_runmalloc \
24 -coreprof-enable cpe_taskexecute \
25 -coreprof-enable cpe_poolalloc \
26 -coreprof-enable cpe_taskretire \
27 -coreprof-enable cpe_preparememq \
28 -coreprof-enable cpe_runfree \
29 -coreprof-enable cpe_count_poolalloc \
30 -coreprof-enable cpe_count_poolreuse \
31 -coreprof-enable cpe_taskstallvar \
32 -coreprof-enable cpe_taskstallmem
35 USEOOO= -ooojava 24 2 -squeue #-mempool-detect-misuse #-ooodebug-disable-task-mem-pool #-ooodebug
36 USERCR= -ooojava 23 2 -rcr -squeue #-mempool-detect-misuse #-ooodebug-disable-task-mem-pool #-ooodebug
37 BSFLAGS= -64bit -mainclass $(PROGRAM) -heapsize-mb 1000 -garbagestats -joptimize -optimize -noloop #-debug -debug-deque # src-after-pp
39 DRELEASEMODE=-disjoint-release-mode -disjoint-dvisit-stack-callees-on-top -disjoint-alias-file aliases.txt tabbed
40 DISJOINT= -disjoint -disjoint-k 1 -enable-assertions $(DRELEASEMODE) #-disjoint-desire-determinism
43 $(BUILDSCRIPT) -nojava $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par $(SOURCE_FILES)
46 $(BUILDSCRIPT) -thread $(BSFLAGS) $(USECOREPROF) -o $(PROGRAM)s -builddir sing $(SOURCE_FILES)
49 $(BUILDSCRIPT) $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par $(SOURCE_FILES)
52 $(BUILDSCRIPT) $(BSFLAGS) $(USECOREPROF) $(USERCR) $(DISJOINT) -o $(PROGRAM)r -builddir rcr $(SOURCE_FILES)
55 rm -f $(PROGRAM)p.bin $(PROGRAM)r.bin $(PROGRAM)s.bin