GeezerVison is showing github.com — Update README of deadlock sample application · chrishantha/sample-java-programs@c6ed432
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: deadlock/README.md +3-3Lines changed: 3 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -Sample to a deadlock in Java Application |
2 | | -=========================================== |
| 1 | +Sample to show deadlocks in a Java Application |
| 2 | +============================================== |
3 | 3 |
|
4 | 4 | This sample application shows an example of a deadlock. Following is the definition of "deadlock" according to |
5 | 5 | [Java Tutorial](https://docs.oracle.com/javase/tutorial/essential/concurrency/deadlock.html) |
@@ -10,7 +10,7 @@ In this application, there are two threads trying to acquire two locks. |
10 | 10 |
|
11 | 11 | ### How to run |
12 | 12 |
|
13 | | -The application will throw Out of Memory error after some time when you run following command |
| 13 | +The application will throw Out of Memory error after some time when you run the application with default parameters. |
14 | 14 |
|
15 | 15 | `java -Xms1g -Xmx1g -jar target/deadlock.jar` |
16 | 16 |
|
|