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

Remove obsolete and unproductive JVM options #1437

Merged
merged 1 commit into from
Mar 16, 2021
Merged

Conversation

bondolo
Copy link
Contributor

@bondolo bondolo commented Mar 16, 2021

Motivation:
The current JVM options used for running ServiceTalk tests have not recently been updated
to reflect current recommendations.

Modifications:
Remove "-XX:+AggressiveOpts", "-XX:+TieredCompilation", "-XX:+UseBiasedLocking",
and "-XX:+OptimizeStringConcat" options.
"-XX:+TieredCompilation" and "-XX:+OptimizeStringConcat" are now default behaviour
"-XX:+AggressiveOpts" is likely to slow performance and was removed in JDK12.
"-XX:+UseBiasedLocking" is likely to slow performance for ServiceTalk workloads and was
removed in JDK15

Result:
ServiceTalk tests executed with JVM options which more likely to reflect typical current
production usage.

Motivation:
The current JVM options used for running ServiceTalk tests have not recently been updated
to reflect current recommendations.

Modifications:
Remove "-XX:+AggressiveOpts", "-XX:+TieredCompilation", "-XX:+UseBiasedLocking",
 and "-XX:+OptimizeStringConcat" options.
"-XX:+TieredCompilation" and "-XX:+OptimizeStringConcat" are now default behaviour
"-XX:+AggressiveOpts" is likely to slow performance and was removed in JDK12.
"-XX:+UseBiasedLocking" is likely to slow performance for ServiceTalk workloads and was
removed in JDK15

Result:
ServiceTalk tests executed with JVM options which more likely to reflect typical current
production usage.
@bondolo bondolo merged commit bf7b3a2 into apple:main Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants