Skip to content

Conversation

graalvmbot
Copy link
Collaborator

This PR skips methods not reachable in current layer from compilation. When building the base layer there could be methods that were reached and analyzed but not compiled in the base layer, e.g., they were always inlined. These methods can be referenced in the app layer, but not reached during the app layer's analysis, so their base layer graph is never loaded. Such a method can be considered as a potential compilation target when it is the implementation of a method invoked in the app layer. Since we don't have an analysis graph we cannot compile it. As an workaround the method is currently skipped from compilation, however it should not be called at run time since it was not reached during analysis.

This PR also skips deleted fields from relinking.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 14, 2025
@graalvmbot graalvmbot closed this Apr 14, 2025
@graalvmbot graalvmbot deleted the cs/GR-62562-skip-not-reachable-method branch April 14, 2025 16:13
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