Skip to content
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

Introduce flag gcThreadsCountSpecified #7207

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

amicic
Copy link
Contributor

@amicic amicic commented Dec 15, 2023

This flag is to be used along existing gcThreadCountForced. Specified
flag will be used to distinguish between GC thread count calculated by
default or specified by a command line option. Forced flag
will to be used for a subset of options that force a fixed number of
threads.

Currently Forced is used as Specified, but we need both to distinguish
among 3 posibilities, specifically in Java: default, Xgcthreads and
Xgcmaxthreads.

Changes that will make that behavior effective will follow up later,
once downstream projects properly adjust command line parsing and
setting these flags.

@amicic
Copy link
Contributor Author

amicic commented Dec 15, 2023

@dmitripivkine please, review

@@ -445,15 +445,17 @@ MM_Configuration::initializeArrayletLeafSize(MM_EnvironmentBase* env)
void
MM_Configuration::initializeGCThreadCount(MM_EnvironmentBase* env)
{
OMRPORT_ACCESS_FROM_ENVIRONMENT(env);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this line necessary?

@amicic
Copy link
Contributor Author

amicic commented Dec 15, 2023

@babsingh please review.

For some reason ECA is failing!?

This flag is to be used along existing gcThreadCountForced. Specified
flag will be used to distinguish between GC thread count calculated by
default or specified by a command line option. Forced flag
will to be used for a subset of options that force a fixed number of
threads.

Currently Forced is used as Specified, but we need both to distinguish
among 3 posibilities, specifically in Java: default, Xgcthreads and
Xgcmaxthreads.

Changes that will make that behavior effective will follow up later,
once downstream projects properly adjust command line parsing and
setting these flags.

Signed-off-by: Aleksandar Micic <Aleksandar_Micic@ca.ibm.com>
@babsingh
Copy link
Contributor

jenkins build all

@babsingh
Copy link
Contributor

@babsingh babsingh merged commit 82956e0 into eclipse:master Dec 15, 2023
15 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants