WIP
First thing: LOGS
JVM generates can generate 3 types of logs, to help you optimise the performance.
- GC log
- Thread Dump
- Heap Dump
Check GC algorithm
With Java 11+, G1 algorithm is the default one. For java8+ version, this new algorithm needs to be enabled explicitly.
Useful tools:
- JConsole –
- JFR –
Be aware that not all java versions 8+ are compatible with it. - https://gceasy.io/
- JVisualVM