dou_rw_lock's People
Forkers
devernuldou_rw_lock's Issues
Виснет тест mt.dou.TestCLHQueueLockBenchmark
Скачал zip, распаковал, запустил mvn test выполнились только два теста TestAndSetLockBenchmark.java и TestTestAndSetLockBenchmark.java.
Переименовал ReadLockCountdown.java в TestReadLockCountdown.java, CLHQueueLockBenchmark.java в TestCLHQueueLockBenchmark.java.
Опять запустил mvn test
T E S T S
Running mt.dou.TestReadLockCountdown
Count down for : 18135173267 ns.
Execution time is : 2328 ms.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.473 sec
Running mt.dou.TestTestAndSetLockBenchmark
Average execution time : 1212 ns per operation.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.146 sec
Running mt.dou.TestAndSetLockBenchmark
Average execution time : 2177 ns per operation.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.864 sec
Running mt.dou.TestCLHQueueLockBenchmark
TestCLHQueueLockBenchmark выполнялся 10 минут потом я его прибил. Что я делаю не так?
java -version
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 23
Stepping: 10
CPU MHz: 2200.000
BogoMIPS: 4388.96
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
NUMA node0 CPU(s): 0,1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.