-
Notifications
You must be signed in to change notification settings - Fork 722
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
Override isCompilable for TR_ResolveRelocatableJ9Method #16556
Conversation
FYI: @tajila, @pshipton, @fengxue-IS |
Given the required symmetry between Even as it stands right now your new |
@dsouzai Requesting your input on whether |
I think if |
Also updated existing use of the function. Signed-off-by: Nazim Bhuiyan <[email protected]>
TR_ResolvedRelocatableJ9Method::isCompilable should agree with what TR::CompilationInfo::isMethodIneligibleForAot returns for a method. This override is necessary because methods in java/lang/invoke/* are ineligible for AOT compilations, and therefore isCompilable should also return false for these methods during AOT. This impacts what methods are considered for inlining. Signed-off-by: Nazim Bhuiyan <[email protected]>
@0xdaryl based on Irwin's comment, I have not made any changes to the check for |
Jenkins test sanity all jdk17,jdk19 |
Jenkins test sanity xlinux jdk17 |
Jenkins test sanity plinux,aix,xmac,amac,alinux64 jdk17,jdk19 |
Jenkins test sanity xlinux jdk19 |
Jenkins test sanity plinux,aix,xmac,amac,alinux64,xlinux jdk17,jdk19 |
Jenkins test sanity aix jdk17 |
TR_ResolvedRelocatableJ9Method::isCompilable should match what TR::CompilationInfoPerThreadBase::isMethodIneligibleForAot returns for a method. This override is necessary because methods in java/lang/invoke/* are marked ineligible from AOT compilations, and therefore isCompilable should also return false for these methods during AOT. This impacts what methods are considered for inlining.
Fixes: #16161, #14135
Signed-off-by: Nazim Bhuiyan [email protected]