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_runmalloc \
22 -coreprof-enable cpe_taskexecute \
23 -coreprof-enable cpe_taskdispatch \
24 -coreprof-enable cpe_poolalloc \
25 -coreprof-enable cpe_taskretire \
26 -coreprof-enable cpe_workschedgrab
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 #-ooodebug-disable-task-mem-pool #-ooodebug
36 BSFLAGS= -64bit -mainclass $(PROGRAM) -heapsize-mb 2000 -garbagestats -joptimize -noloop -debug #-debug-deque #-optimize src-after-pp
38 DRELEASEMODE=-disjoint-release-mode -disjoint-dvisit-stack-callees-on-top -disjoint-alias-file aliases.txt tabbed
39 DISJOINT= -disjoint -disjoint-k 1 -enable-assertions $(DRELEASEMODE) #-disjoint-desire-determinism
42 $(BUILDSCRIPT) -nojava $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par $(SOURCE_FILES)
45 $(BUILDSCRIPT) -thread $(BSFLAGS) $(USECOREPROF) -o $(PROGRAM)s -builddir sing $(SOURCE_FILES)
48 $(BUILDSCRIPT) $(BSFLAGS) $(USECOREPROF) $(USEOOO) $(DISJOINT) -o $(PROGRAM)p -builddir par $(SOURCE_FILES)
51 rm -f $(PROGRAM)p.bin $(PROGRAM)s.bin