-
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
Documentation for -XX:[+/-]CpuLoadCompatibility #1232
Comments
@thallium - Few clarifications required.
Thanks! |
It came from a user issue stating
Not sure what do you mean by "options". Do you mean "functions"?
It means CPU time data point (pair of (time, CPU time)).
My thoughts:
RI is OpenJDK, enabling this flag matches the behaviour on the first call to OpenJDK. |
Yes. |
@thallium - Also, what is the default setting for this option? Is it enabled (-XX:+CpuLoadCompatibility), by default? Thanks! |
@thallium - If I were to give a brief explanation of the Thanks! |
@thallium - I have created a new topic for this option. The content is as follows. Please check and let me know if there any changes to be made. Thanks! -XX:[+|-]CpuLoadCompatibilityThis option enables or disables the OpenJDK behavior of the Syntax
ExplanationThe In OpenJDK, these methods return The |
@thallium - Any update on this? Thanks! Please check #1258 (comment) |
eclipse-openj9#1232 Created a new topic for -XX:[+/-]CpuLoadCompatibility. Updated the What's new in version 0.43.0 and mkdocs.yml file Closes eclipse-openj9#1232 Signed-off-by: Sreekala Gopakumar <[email protected]>
eclipse-openj9#1232 Created a new topic for -XX:[+/-]CpuLoadCompatibility. Updated the What's new in version 0.43.0 and mkdocs.yml file Closes eclipse-openj9#1232 Signed-off-by: Sreekala Gopakumar <[email protected]>
@Sreekala-Gopakumar Sorry for the delay, as I'm working part time this semester. The flag disabled by default. The explanation looks good to me! |
eclipse-openj9#1232 Created a new topic for -XX:[+/-]CpuLoadCompatibility. Updated the What's new in version 0.43.0 and mkdocs.yml file. Incorporated the feedback related to the default setting. Closes eclipse-openj9#1232 Signed-off-by: Sreekala Gopakumar <[email protected]>
Issue or pull request number:
eclipse-openj9/openj9#18636
Overview:
By default, getProcessCpuLoad() and getSystemCpuLoad() return -1 if only one data point has been recorded. By specifying the
-XX:+CpuLoadCompatibility
flag, they will return zero which matches the behaviour of the RI.Release target:
Eclipse OpenJ9 0.43.0
Applies to the following JDK versions:
8 and later
Applies to the following platforms:
All platforms
For new command line options:
The text was updated successfully, but these errors were encountered: