#!/bin/bash
-BENCH=(blocking-queue-example ms-queue linuxrwlocks mcs-lock \
- chase-lev-deque-bugfix chase-lev-deque spsc-bugfix mpmp-queue ticket-lock \
+BENCH=(ms-queue linuxrwlocks mcs-lock \
+ chase-lev-deque-bugfix spsc-bugfix mpmc-queue ticket-lock \
concurrent-hashmap seqlock read-copy-update)
ClassPath=$(dirname ${BASH_SOURCE[0]})/classes
BenchDir=../benchmarks
GenerateDir=../test-cdsspec
+mkdir -p $GenerateDir
+
java -cp $ClassPath $Class $BenchDir $GenerateDir ${BENCH[*]}
// String[] dirNames = args;
-// String[] dirNames = new String[args.length - 2];
-// for (int i = 0; i < args.length - 2; i++) {
-// dirNames[i] = args[i + 2];
-// }
- String[] dirNames = Environment.Benchmarks;
+ String[] dirNames = new String[args.length - 2];
+ for (int i = 0; i < args.length - 2; i++) {
+ dirNames[i] = args[i + 2];
+ }
+// String[] dirNames = Environment.Benchmarks;
for (int i = 0; i < dirNames.length; i++) {
String dirName = dirNames[i];