Repository navigation
[GR-48178] Introduce Transitive Effect Summary Analysis (TESA) - #14752
Open
graalvmbot wants to merge 4 commits into
Open
graalvmbot wants to merge 4 commits into
graalvmbot wants to merge 4 commits into
Conversation
Compute conservative method-effect summaries from strengthened Native Image graphs and propagate them from callees to callers over the closed-world call graph. Apply precise killed-location results before compilation and expose build statistics while falling back to any effect for unknown or ambiguous state.
Register the boolean and set-based effect analyses in the production TESA engine. Allow priority inlining to work with either invoke shape because exception analysis can replace an invoke-with-exception before compilation.
Model invokes as memory accesses with a location identity and memory input so interprocedural summaries can expose precise read dependencies. Compute conservative accessed-location summaries with the existing location lattice and preserve the metadata across invoke replacements. Keep generic lowering, value numbering, and vectorization from treating invokes as ordinary memory operations.
Allow write simplification to skip invokes when analysis proves they cannot throw and cannot access the overwritten location. Record no-throw results from exception summaries and cover observing and exceptional calls.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces Transitive Effect Summary Analysis (TESA) for closed-world Native Image builds and updates the original implementation for current master APIs.
Summary:
-H:-TransitiveEffectSummaryAnalysisremains available for explicit opt-outCommit structure:
Validation:
com.oracle.svm.hostedNotes: