June 2018
Intermediate to advanced
408 pages
11h 23m
English
The tenuring threshold decides when an object can be promoted/moved from the Young Generation to the Old Generation. We can set the initial and maximum value of the tenuring threshold using the -XX:InitialTenuringThreshold and -XX:MaxTenuringThreshold JVM flags. We can also use -XX:TargetSurvivorRatio to specify the target utilization (as a percentage) of the Survivor Space at the end of a Young Generation GC.
Read now
Unlock full access