Sunday, March 24, 2019

Understanding JVM Settings

Usually JVM settings file contains a line-delimited list of JVM arguments.

1) Lines with white spaces are Ingored.

2) # are treated as comments
Example: #Optional G1 Settings

3) Lines starting with - are treated as aJVM option that applies for any version of JVM
Example: -Xms4G

4) Lines starting with a number followed by : and followed by - are treated as JVM option for that specified version of JVM.
Example: 8:-Xms4g

5) Lines starting with a number followed by - and followd by : are treated as JVM option for the version greater than or equal to that number.
Example: 8-:Xms4g

6) Lines starting with number followed by - and then a number followed by : are treated as JVM option that applies for the versions falling in that range.
Example: 8-9:-Xms4g

***

No comments:

Post a Comment