Made using java 11.0.2
- deuceAgent-1.3.0.jar
- hamcrest-all-1.3.jar
- jcommon-1.0.23.jar
- jfreechart-1.0.19.jar
- junit-4.10.jar
-
Navigate to src folder
-
run
javac -cp .:../lib/junit-4.10.jar:../lib/deuceAgent-1.3.0.jar:../lib/jfreechart-1.0.19.jar:../lib/jcommon-1.0.23.jar *.java
-
Navigate to compiled files
-
run (from src)
java -cp .:../lib/junit-4.10.jar:../lib/deuceAgent-1.3.0.jar:../lib/jfreechart-1.0.19.jar:../lib/jcommon-1.0.23.jar ThroughputTest
It may take a minuet or two to generate the graph.
The Charts are displayed then saved as *Throughput.png
-
Navigate to compiled output where *.class files are
-
run
java -cp .:<path to junit-410.jar> org.junit.runner.JUnitCore BSTTester
- ex (from src folder):
java -cp .:../lib/junit-4.10.jar org.junit.runner.JUnitCore BSTTester
- ex (from src folder):
-
will output something like:
JUnit version 4.10 .. Time: 0.006 OK (2 tests)
No other output means that the tests ran successfully
Test source code can be found in: BSTTester.java
-
Read paper "Efficient Lock-free Binary Search Trees"
-
Find replacement for RSTM in java
sub steps
Remove() - Rosstest RIPcontains() - Ross testAdd() - Chinh testclean mark() - Chinh testclean flag() - Chinhtestlocate() - Ross testtryflag() - RosstesttryMark() - Rosstest
- progress guarantee - Ross
- correctness condition - Chinh
- synchronization techniques - Ross
- advantages and disadvantages of this data structure compared to its alternatives - Chinh
- improvements - Ross
- obstacles - Chinh
DeuceAgent 1.3.0