Skip to content

Commit c6ed432

Browse files
committed
Update README of deadlock sample application
1 parent 0dec388 commit c6ed432

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

deadlock/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Sample to a deadlock in Java Application
2-
===========================================
1+
Sample to show deadlocks in a Java Application
2+
==============================================
33

44
This sample application shows an example of a deadlock. Following is the definition of "deadlock" according to
55
[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.
1010

1111
### How to run
1212

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.
1414

1515
`java -Xms1g -Xmx1g -jar target/deadlock.jar`
1616

0 commit comments

Comments
 (0)