Skip to content

Conversation

graalvmbot
Copy link
Collaborator

In rare circumstances, we may fail to fold a static field in inlining before analysis not because the initializer of the target class could not be simulated, but because the simulation has not finished yet. This PR makes sure that the simulation of the given class initializer has finished before trying to fold a load field in inlining before analysis. Details about the particular issue that motivated this PR can be found in GR-65868.

…ing to fold a load field in inlining before analysis
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 31, 2025
@graalvmbot graalvmbot merged commit cdf3cdc into master Aug 1, 2025
13 checks passed
@graalvmbot graalvmbot deleted the d-kozak/GR-65868/fix-analysis-nondeterminism branch August 1, 2025 00:49
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