- -server -XX:+TieredCompilation
ComparisonYou can tune JVM's performance by tuning either memory management or code generaion. Here we have tuned code generator by turning tiered compilation mode on. With tiered compilation on, more classes are compiled (or compiled more efficiently) and so they execute faster (i.e., +15%).
Using ATG CRM Demo benchmark, we saw the following KPI changes:
Application Server CPU
Average Response Time
- Here is our setting for ReservedCodeCacheSize:
- When we turned on tiered compilation mode, we also reserve larger code cache for it (i.e., 256 MB vs. 128 MB). Code cache is allocated out of native memory (vs. heap). Total footprint shown in the table includes native memory. So, we see total footprint is larger when tiered compilation mode is turned on.