Skip to content

jasonjkeller/sample-java-programs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Java Programs

This repository contains some sample programs. All are Maven projects and can be run directly using "java -jar".

The sample apps are intended to demonstrate problematic scenarios, most of which can be diagnosed with Java Flight Recorder:

  • High Object allocation rate
  • Deadlocks
  • High CPU usage
  • Hot methods
  • Latency and thread contention
  • Memory leaks
  • Large number of object references in heap memory
  • Thread leaks

How to build

Run mvn clean install to build all sample programs

References

License

Copyright (C) 2015 M. Isuru Tharanga Chrishantha Perera

Licensed under the Apache License, Version 2.0

About

Sample Java programs to demonstrate performance issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.2%
  • Shell 2.8%