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

[GR-51416] AllowAllHostedUsagesClassInitializationSupport.initializeAtBuildTime should eagerly initialize the class #8185

Conversation

graalvmbot
Copy link
Collaborator

The legacy class initialization strategy ProvenSafeClassInitializationSupport initialized the class eagerly when registered for initializeAtBuildTime. The new default strategy AllowAllHostedUsagesClassInitializationSupport did not do this yet. We should change the latter, as we also have other places where we need to mitigate class initialization deadlocks, and that seems like a simple way to do it.

…Time should eagerly initialize the class [GR-51416]
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 17, 2024
@zapster zapster marked this pull request as draft January 17, 2024 09:40
@zapster zapster changed the title WIP [GR-51416] AllowAllHostedUsagesClassInitializationSupport.initializeAtBuildTime should eagerly initialize the class [GR-51416] AllowAllHostedUsagesClassInitializationSupport.initializeAtBuildTime should eagerly initialize the class Jan 17, 2024
@zapster zapster self-assigned this Jan 17, 2024
@zapster
Copy link
Member

zapster commented Jan 18, 2024

superseded by #8193

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