Changeset 88e139e for benchmark


Ignore:
Timestamp:
Sep 27, 2018, 3:29:06 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
3aeee3c, 451ccd5
Parents:
2a1af5b
Message:

A better fix for java benchmarks

Location:
benchmark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    r2a1af5b r88e139e  
    5151        @${STATS} .result.log
    5252        @echo "------------------------------------------------------"
    53         @rm -f a.out .result.log
     53        @rm -f a.out .result.log *.class
    5454
    5555%.runquiet :
     
    163163
    164164ctxswitch-java_thread$(EXEEXT):
    165         $(AM_V_JAVAC)javac $(srcdir)/ctxswitch/JavaThread.java
     165        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
    166166        @echo "#!/bin/sh" > a.out
    167         @echo "cd $(srcdir)/ctxswitch && java JavaThread" >> a.out
     167        @echo "java JavaThread" >> a.out
    168168        @chmod a+x a.out
    169169
     
    196196
    197197mutex-java_thread$(EXEEXT):
    198         $(AM_V_JAVAC)javac $(srcdir)/mutex/JavaThread.java
     198        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
    199199        @echo "#!/bin/sh" > a.out
    200         @echo "cd $(srcdir)/mutex && java JavaThread" >> a.out
     200        @echo "java JavaThread" >> a.out
    201201        @chmod a+x a.out
    202202
     
    226226
    227227signal-java_thread$(EXEEXT):
    228         @javac $(srcdir)/schedint/JavaThread.java
     228        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
    229229        @echo "#!/bin/sh" > a.out
    230         @echo "cd $(srcdir)/schedint && java JavaThread" >> a.out
     230        @echo "java JavaThread" >> a.out
    231231        @chmod a+x a.out
    232232
     
    284284
    285285creation-java_thread$(EXEEXT):
    286         $(AM_V_JAVAC)javac $(srcdir)/creation/JavaThread.java
     286        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
    287287        @echo "#!/bin/sh" > a.out
    288         @echo "cd $(srcdir)/creation && java JavaThread" >> a.out
     288        @echo "java JavaThread" >> a.out
    289289        @chmod a+x a.out
    290290
  • benchmark/Makefile.in

    r2a1af5b r88e139e  
    656656        @${STATS} .result.log
    657657        @echo "------------------------------------------------------"
    658         @rm -f a.out .result.log
     658        @rm -f a.out .result.log *.class
    659659
    660660%.runquiet :
     
    744744
    745745ctxswitch-java_thread$(EXEEXT):
    746         $(AM_V_JAVAC)javac $(srcdir)/ctxswitch/JavaThread.java
     746        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
    747747        @echo "#!/bin/sh" > a.out
    748         @echo "cd $(srcdir)/ctxswitch && java JavaThread" >> a.out
     748        @echo "java JavaThread" >> a.out
    749749        @chmod a+x a.out
    750750
     
    776776
    777777mutex-java_thread$(EXEEXT):
    778         $(AM_V_JAVAC)javac $(srcdir)/mutex/JavaThread.java
     778        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
    779779        @echo "#!/bin/sh" > a.out
    780         @echo "cd $(srcdir)/mutex && java JavaThread" >> a.out
     780        @echo "java JavaThread" >> a.out
    781781        @chmod a+x a.out
    782782
     
    805805
    806806signal-java_thread$(EXEEXT):
    807         @javac $(srcdir)/schedint/JavaThread.java
     807        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
    808808        @echo "#!/bin/sh" > a.out
    809         @echo "cd $(srcdir)/schedint && java JavaThread" >> a.out
     809        @echo "java JavaThread" >> a.out
    810810        @chmod a+x a.out
    811811
     
    860860
    861861creation-java_thread$(EXEEXT):
    862         $(AM_V_JAVAC)javac $(srcdir)/creation/JavaThread.java
     862        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
    863863        @echo "#!/bin/sh" > a.out
    864         @echo "cd $(srcdir)/creation && java JavaThread" >> a.out
     864        @echo "java JavaThread" >> a.out
    865865        @chmod a+x a.out
    866866
Note: See TracChangeset for help on using the changeset viewer.