Changes in benchmark/mutex/JavaThread.java [2a658e9:2c3562d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/mutex/JavaThread.java
r2a658e9 r2c3562d 47 47 } 48 48 public static void main(String[] args) throws InterruptedException { 49 if ( args.length > 2) System.exit( 1 );50 if ( args.length == 2 ) { times = Long.parseLong(args[1]); }49 if ( args.length > 1 ) System.exit( 1 ); 50 if ( args.length == 1 ) { times = Long.parseLong(args[0]); } 51 51 52 52 for (int n = Integer.parseInt("5"); --n >= 0 ; ) {
Note: See TracChangeset
for help on using the changeset viewer.