Skip to content

[GR-63494] [GR-63728] Simplify the safepoint code and only enable recurring callback support on demand. #10995

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 4 commits into from
Apr 8, 2025

Conversation

graalvmbot
Copy link
Collaborator

@graalvmbot graalvmbot commented Apr 7, 2025

This PR disables recurring callback support by default. Recurring callbacks are a rarely used feature, that comes with a performance cost. If this feature is needed, please explicitly enable it via -H:+SupportRecurringCallback at image build-time.

PR contains 4 commits and each commit can be reviewed on its own:

  • refactored the recurring callback support (see RecurringCallbackSupport and ThreadingSupportImpl)
  • changed the default value of -H:SupportRecurringCallback to false
  • simplified the safepoint code
  • renamings and cleanups

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 7, 2025
@graalvmbot graalvmbot closed this Apr 8, 2025
@graalvmbot graalvmbot deleted the chaeubl/GR-63494 branch April 8, 2025 13:03
@graalvmbot graalvmbot merged commit 330aed9 into master Apr 8, 2025
13 checks passed
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