Skip to content

Conversation

graalvmbot
Copy link
Collaborator

This PR fixes Reachability Analysis available via the -H:+UseExperimentalReachabilityAnalysis flag.
The implementation got out of sync with points-to analysis because it had a separate Graal IR construction pipeline before analysis and its set of registrations was outdated compared to MethodTypeFlowBuilder.registerUsedElements. To reduce the chances of getting out of sync again, this PR modifies certain parts of reachability analysis to call into MethodTypeFlowBuilder to reuse its functionality when possible, thus removing code duplication.

Reuse the registrations and optimizations done before analysis as much as possible
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 31, 2025
@graalvmbot graalvmbot closed this May 31, 2025
@graalvmbot graalvmbot deleted the d-kozak/GR-60297/fix-rta branch May 31, 2025 15:58
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