Heteroclinic.net logo

www.heteroclinic.net

Advanced Concurrency Topic:
Runtime Deadlock Detection XXI
Treetorplus3 and jdfrbeta01
Prototype no.1 Just Lock and Unlock
Now we realease Treetorplus3 treetorplus3.jar,treetorLicesnse.txt.
We also release jdfrbeta01.jar. 'jdfr' stands for Java Dead-lock Free Runtime. The goal is to design a runtime that will handle general concurrency issues. In the future, we may extend to operating system design/implementation. Or it may not be necessarily to design or implement something new, because we have 'injection' technology. These goals are still far. By now, what are at our hands are four prototypes. So far, we are able to profile basic concurrency events. Please note these prototype will only under the very conditions we pre-set. What works is just what worked! Any above-mentioned goals are huge tasks beyond the limited ability of the author. I spent much time studying java.util.concurrent written by Prof. Doug Lea. It corrects some very critical mis-understandings of mine. Although I am able to build these prototypes using C, C++ etc, without Java, without open source, it won't be so fast. Eclipse Java IDE also provides great help speeding up the work. 'jdfr' is open source. The jar comes with the source code inside.
The first prototype is 'Just Lock and Unlock'.
How to: You will get the images at the folder specified.

PFLB_JUST_LOCK_UNLOCK.gif

You can also try to modify this file.
Advanced Concurrency Topic:
Runtime Deadlock Detection XXII
Treetorplus3 and jdfrbeta01
Prototype no.2 Simple Blocker and Blockee
How to:
You will get the images at the folder specified.

PFLB_BLOCK_UNBLOCK_SIMPLE.gif

You can also try to modify this file.
Advanced Concurrency Topic:
Runtime Deadlock Detection XXIII
Treetorplus3 and jdfrbeta01
Prototype no.3 A More Complex Blocker and Blockee
How to:
You will get the images at the folder specified.

PROFLB_BLOKER_BLOKEE_COMLEX.gif

You can also try to modify this file.
Advanced Concurrency Topic:
Runtime Deadlock Detection XXIV
Treetorplus3 and jdfrbeta01
Prototype no.4 A Simple Dead-lock Profiled
How to:
You will get the images at the folder specified.
After the dead-lock is formed, the program will not stop unless a forced ctrl-C. The late tryer caused the dead-lock is painted by 'stop-sign' color.
If you find any errors or you want to leave other comments, please send me email.

DEAD_LOCK_VISUAL.gif

You can also try to modify this file. PNGs:

DEAD_LOCK_VISUAL20121211-011216521.pngFigure 01

DEAD_LOCK_VISUAL20121211-011216915.pngFigure 02

DEAD_LOCK_VISUAL20121211-011217085.pngFigure 03

DEAD_LOCK_VISUAL20121211-011217215.pngFigure 04

DEAD_LOCK_VISUAL20121211-011217378.pngFigure 05

DEAD_LOCK_VISUAL20121211-011217505.pngFigure 06

DEAD_LOCK_VISUAL20121211-011217636.pngFigure 07

DEAD_LOCK_VISUAL20121211-011217779.pngFigure 08

DEAD_LOCK_VISUAL20121211-011217929.pngFigure 09

DEAD_LOCK_VISUAL20121211-011218078.pngFigure 10