Fix getResolvedMethodsAndMethods for AOT compilations - #23695
Conversation
getResolvedMethodsAndMethods unconditionally constructed TR_ResolvedJ9JITServerMethod objects. However, for relocatable compialtions, it should construct TR_ResolvedRelocatableJ9JITServerMethod objects. This commit fixes this by ensuring that the right resolved method type is created for relocatable compilations. Signed-off-by: Irwin D'Souza <dsouzai.gh@gmail.com>
|
@mpirvu could you please review? |
|
jenkins test sanity plinuxjit,xlinuxjit,zlinuxjit,alinux64jit jdk21 |
|
zlinux sanity.functional failure is a consequence of #23661; however, I dont' think it's caused by this PR because the method is being compiled at hot, which will not be an AOT compile. Also the error seems to be: where the I think the zlinuux sanity.openjdk failure is an instance of #19932 but instead of |
|
I agree with both those points above. The assert is a consequence of a recent change that transformed the TR_ASSERT into TR_ASSERT_FATAL to catch bugs. Will treat that one separately. |
|
Grinder passed 10/10. |
|
Merging based on the comments above |
getResolvedMethodsAndMethodsunconditionally constructedTR_ResolvedJ9JITServerMethodobjects. However, for relocatable compilations, it should constructTR_ResolvedRelocatableJ9JITServerMethodobjects. This PR fixes this by ensuring that the right resolved method type is created for relocatable compilations.