Skip to content

[GR-61347] [GR-62499] [GR-62610] [GR-62658] Various serial GC fixes and added option -XX:+PrintVMInfoAndExit. #10848

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

Closed
wants to merge 5 commits into from

Conversation

graalvmbot
Copy link
Collaborator

@graalvmbot graalvmbot commented Mar 12, 2025

PR can be reviewed commit-by-commit. It contains the following changes:

  • Fix a deadlock in AbstractCollectionPolicy.updateSizeParameters().
  • Fix a race condition in AbstractCollectionPolicy.updateSizeParameters() (old GC parameters could be used accidentally).
  • Print a better error message if the specified max. heap size exceeds the max. address space size.
  • Take into account that only a part of the reserved address space is usable for the collected Java heap.
  • Various fixes for the default serial GC policy and the libgraal-specific GC policy (inconsistent/wrong values could be returned).
  • Limit the serial GC default max. heap size to 32 GB (i.e., larger max. heap sizes than that will only be used if specified explicitly).
  • Fix the value of CollectionPolicy.UNDEFINED
  • Add option -XX:+PrintVMInfoAndExit. Output:
    GraalVM CE 25-dev+15.1 (serial gc, compressed references)
    JDK 25+15
    

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 12, 2025
@graalvmbot graalvmbot closed this Mar 12, 2025
@graalvmbot graalvmbot deleted the chaeubl/GR-62499 branch March 12, 2025 07:18
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