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

switch the default JVM GC from ParallelGC to G1GC #29367

Closed
wants to merge 3 commits into from

Conversation

kami619
Copy link
Contributor

@kami619 kami619 commented May 7, 2024

fixes #29033

This PR addresses the issue we observed in #29033 and sets the JVM heap to match the updated behavior from the Argon2 hashing algorithm changes.

  • Update the default GC from ParallelGC to G1GC.
  • Remove the MinHeapFreeRatio setting, as this has very little to no impact on the JVM heap, and would only be viable in a very low RAM availability to the heap, which is an unlikely scenario to have for Keycloak.

Update the default GC from ParallelGC to G1GC

Signed-off-by: Kamesh Akella <kamesh.asp@gmail.com>
@kami619 kami619 force-pushed the is-29033-change-default-JVM-GC branch from 209bbe8 to 3a53fae Compare May 7, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Argon2 password hashing leads to increased Major GC's in Keycloak's JVM during load tests
1 participant