Skip to content

Commit

Permalink
JVM: Productivity tools
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjacobmorris committed Dec 28, 2024
1 parent 657f5ce commit d677bcf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Java/Performance and Memory/PerformanceAndMemoryTuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,17 @@ It is executed when object is destroyed during gc. It had a lot of inherent issu
| `-XX:+UseG1GC` | use concurrent gc |
| ` -XX:+UseZGC -XX:+ZGenerational` | use concurrent generational zgc |
| `-XX:UseStringDeDuplication` | available in g1gc only. if non string pool strings are having same value and useful in a memory constrained env |
| `-XX:StartFlightRecording=...` | to configure start of flight recording in java |

### Memory Leaks
#### JVisualVM
Can be used to see memory growth
#### Heap Dump

### Performance Analysis
#### JMC - Java Mission Control

#### JFR - Java Flight Recorder
## References
* Udemy - Discover how coding choices, benchmarking, performance tuning and memory management can optimize your Java applications
* LLMs
Expand All @@ -117,4 +123,6 @@ Can be used to see memory growth
* https://medium.com/@roopa.kushtagi/netflixs-journey-from-g1gc-to-zgc-tackling-tail-latencies-66ee75681d49
* https://www.baeldung.com/jvm-series
* https://www.baeldung.com/jvm-garbage-collectors
* https://www.baeldung.com/java-21-generational-z-garbage-collector
* https://www.baeldung.com/java-21-generational-z-garbage-collector
* https://stackoverflow.com/questions/71674060/java-flight-recorder-continuous-rolling-recording
* https://www.baeldung.com/java-flight-recorder-monitoring

0 comments on commit d677bcf

Please sign in to comment.