Skip to content

Do not specify a JVM garbage collector if none specified in the Coherence yaml #760

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

Merged
merged 1 commit into from
Jun 11, 2025

Conversation

thegridman
Copy link
Member

The Operator used to set the JVM arg -XX:+UseG1GC if nothing was specified for the spec.jvm.gc.collector field. This meant that it was impossible to set a collector that the Operator yaml did not recognise as this would cause two -XX:+Use*** JVM args and the JVM would not start.

If the spec.jvm.gc.collector is not set the Operator does not set any GC collector JVM arg. The spec.jvm.gc.collector field now also supports serial and zgc as additional values.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 10, 2025
Copy link

@thegridman thegridman merged commit 212794a into oracle:main Jun 11, 2025
30 checks passed
@thegridman thegridman deleted the gc branch June 11, 2025 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants