I was writing about “Unified JVM Logging” feature which is proposed in Java 9. Then I found it necessary to first share the JVM Flags and what they do. There are thousands of JVM flags out of which we rarely use few. Mostly we use them either for GC or Heap Memory tuning or for logging. I read several sites about flags and short-listed few sites to read about them.
Useful jvm flags :
https://blog.codecentric.de/en/page/3/?s=JVM+flags (Very good explanation, read all the 8 parts, it’s interesting)
http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html (JDK 7)
List of flags for garbage collection :
- http://blog.ragozin.info/2013/11/hotspot-jvm-garbage-collection-options.html (Check the cheat sheet there)
Complete list of VM flags :