Index: benchmark/mutex/JavaThread.java
===================================================================
--- benchmark/mutex/JavaThread.java	(revision be53b87bb8b688d529b9f3ca8a4a7bfd47305629)
+++ benchmark/mutex/JavaThread.java	(revision 7030dab75c493bbd89de53cb88e496019c794ff4)
@@ -26,5 +26,5 @@
 	static int x = 2;
 
-	static private final int NoOfTimes = Integer.parseInt("100000000") ;
+	static private int times = Integer.parseInt("100000000");
 
 	public synchronized void noop() {
@@ -35,5 +35,5 @@
 		// Inhibit biased locking ...
 		x = (j.hashCode() ^ System.identityHashCode(j)) | 1 ;     
-		for(int i = 1; i <= NoOfTimes; i += 1) {
+		for(int i = 1; i <= times; i += 1) {
 			x = nextRandom(x);
 			j.noop();
@@ -44,7 +44,10 @@
 		helper();
 		long end = System.nanoTime();
-		System.out.println( (end - start) / NoOfTimes );
+		System.out.println( (end - start) / times );
 	}
 	public static void main(String[] args) throws InterruptedException {
+		if ( args.length > 2 ) System.exit( 1 );
+		if ( args.length == 2 ) { times = Integer.parseInt(args[1]); }
+
 		for (int n = Integer.parseInt("5"); --n >= 0 ; ) { 
 			InnerMain();
@@ -55,2 +58,6 @@
 	}
 }
+
+// Local Variables: //
+// tab-width: 4 //
+// End: //
