Java Concurrency Stress(jcstress) - My Blog
下载源代码:hg clone http://hg.openjdk.java.net/code-tools/jcstress/jcstress
在tests-custom/pom.xml添加即将测试代码的依赖
在tests-custom下编写测试代码
在tests-custom下resources/org/openjdk/jcstress/desc下编写xml描述文件
在源代码根目录,执行mvn clean install -pl tests-custom -am
再执行 java -jar tests-custom/target/jcstress.jar -t '.*TreeMapUpdateTest.*'
Read full article from Java Concurrency Stress(jcstress) - My Blog
No comments:
Post a Comment