-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforce/Disable IProfiler during startup phase with -XX:[+/-]IProfileDuringStartupPhase #1204
Comments
@rmnattas - What is the default state of this option? Thanks! |
There's no default value, the default behaviour depends on different factors of the SCC properties to decide to either do "I-Profiler during startup phase" or not. This option either enforce or prevent doing "I-Profiler during startup phase" regardless of the SCC properties. I-Profiler is used to collect profiling information on a method to help optimize it when it gets JIT compiled. Reason of it being disabled at startup sometimes is that if the SCC already has I-Profiler information stored, then there's no need to collect new info and affect performance. Reason of adding this is to be able to enforce "I-Profiler during startup phase" when doing cold-runs that their purpose is to populate the SCC before actual production runs. |
Usually, such options always have a default state. For example, https://eclipse.dev/openj9/docs/xxexitonoutofmemoryerror/, https://eclipse.dev/openj9/docs/xxenablecpumonitor/, https://eclipse.dev/openj9/docs/xxdisableexplicitgc/. So, at a point of time where you have to decide whether to enforce or prevent doing ""I-Profiler during startup phase" regardless of the SCC properties, is |
There's no default selection here, because the option does the extremes of "always enforcing" or "always preventing", while the default (not using either |
What do you mean by cold runs and warm runs? Are these referring to the optimisation levels? Could you please give a little more explanation for this so that I can be clear about what I am writing. Also, "startup phase" of what? of the client VM or the application? Thanks! |
Cold run is at least what we call doing a mimicking short run of the application to build up the cache/SCC when setting-up the environment. Hence the actual production run (warm run) after is better with having such cache.
The startup phase of the JVM in general, which can behave slightly differently than the rest of the JVM lifetime to balance between a quick startup for the application running on the JVM and overall performance. |
…DuringStartupPhase eclipse-openj9#1204 Added a new topic for the new option, XX:[+/-]IProfileDuringStartupPhase. Updated the What's new in version 0.42.0 topic and the yaml file. Closes eclipse-openj9#1204 Signed-off-by: Sreekala Gopakumar <[email protected]>
…DuringStartupPhase eclipse-openj9#1204 Added a new topic for the new option, XX:[+/-]IProfileDuringStartupPhase. Updated the What's new in version 0.42.0 topic and the yaml file. Closes eclipse-openj9#1204 Signed-off-by: Sreekala Gopakumar <[email protected]>
…DuringStartupPhase eclipse-openj9#1204 Added a new topic for the new option, XX:[+/-]IProfileDuringStartupPhase. Updated the What's new in version 0.42.0 topic and the yaml file. Closes eclipse-openj9#1204 Signed-off-by: Sreekala Gopakumar <[email protected]>
…DuringStartupPhase eclipse-openj9#1204 Added a new topic for the new option, XX:[+/-]IProfileDuringStartupPhase. Updated the What's new in version 0.42.0 topic and the yaml file. Closes eclipse-openj9#1204 Signed-off-by: Sreekala Gopakumar <[email protected]>
…DuringStartupPhase eclipse-openj9#1204 Added a new topic for the new option, XX:[+/-]IProfileDuringStartupPhase. Updated the What's new in version 0.42.0 topic and the yaml file. Closes eclipse-openj9#1204 Signed-off-by: Sreekala Gopakumar <[email protected]>
Issue or pull request number:
eclipse-openj9/openj9#18381
Overview:
Making a new option,
-XX:[+/-]IProfileDuringStartupPhase
, to enforce/disable IProfiler during the startup phase, it will replaces theTR_DisableNoIProfilerDuringStartupPhase
environment variable and overridesXjit:noIProfilerDuringStartupPhase
.If not used, the default algorithm is used to determine the behaviour.
This option will be used in populate_scc scripts to ensure more IProfiler information are being collected and stored in the SCC.
Release target:
Eclipse OpenJ9 0.42
Applies to the following JDK versions:
ALL
Applies to the following platforms:
ALL
For new command line options:
-XX:[+/-]IProfileDuringStartupPhase
The text was updated successfully, but these errors were encountered: