This option enables or disables the data collection by the interpreter profiler during a VM startup.


Setting Effect
-XX:+IProfileDuringStartupPhase Enable
-XX:-IProfileDuringStartupPhase Disable


The VM collects interpreter profiling data that is used to optimize methods at the time of JIT compilation. To reduce the CPU usage of the interpreter profiler during the startup phase, the VM stores such profiling data in the shared classes cache. During startup, the VM uses heuristics to determine when to turn on data collection and when to rely on the data that was collected by a previous VM and stored in the cache. You can overrule the heuristics and control the collection of the profiling information during the startup phase by using the -XX:[+|-]IProfileDuringStartupPhase option.