GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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
Filter options
  • deadlock
    • README.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deadlock/README.md‎

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 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 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.