Skip to content

AArch64: Handle interface call case when patching call site on recompilation - #15242

Merged
knn-k merged 1 commit into
eclipse-openj9:masterfrom
Akira1Saitoh:aarch64InterfaceCallCache
Jun 9, 2022
Merged

AArch64: Handle interface call case when patching call site on recompilation#15242
knn-k merged 1 commit into
eclipse-openj9:masterfrom
Akira1Saitoh:aarch64InterfaceCallCache

Conversation

@Akira1Saitoh

Copy link
Copy Markdown
Contributor

We use 2 cache slots for interface calls and when the cache hit, blr instruction
is used for the call. The function for updating the callsite on recompilation
did not handle such case and failed to update it silently.
This commit adds the code to support interface call case.

Signed-off-by: Akira Saitoh saiaki@jp.ibm.com

@Akira1Saitoh
Akira1Saitoh force-pushed the aarch64InterfaceCallCache branch from e673a3a to a324bbd Compare June 7, 2022 07:09
@Akira1Saitoh
Akira1Saitoh force-pushed the aarch64InterfaceCallCache branch from a324bbd to c66fcf3 Compare June 7, 2022 07:24
@Akira1Saitoh
Akira1Saitoh marked this pull request as ready for review June 8, 2022 08:32
@Akira1Saitoh

Copy link
Copy Markdown
Contributor Author

@knn-k Can you please review?

Comment thread runtime/compiler/runtime/Trampoline.cpp Outdated
Comment thread runtime/compiler/runtime/Trampoline.cpp Outdated
…ilation

We use 2 cache slots for interface calls and when the cache hit, `blr` instruction
is used for the call. The function for updating the callsite on recompilation
did not handle such case and failed to update it silently.
This commit adds the code to support interface call case.

Signed-off-by: Akira Saitoh <saiaki@jp.ibm.com>
@Akira1Saitoh
Akira1Saitoh force-pushed the aarch64InterfaceCallCache branch from c66fcf3 to 2f7e12e Compare June 8, 2022 23:59
@knn-k

knn-k commented Jun 9, 2022

Copy link
Copy Markdown
Contributor

Jenkins test sanity.functional,extended.functional alinux64 jdk17

@knn-k

knn-k commented Jun 9, 2022

Copy link
Copy Markdown
Contributor

Jenkins test sanity.system,extended..system amac jdk17

@knn-k

knn-k commented Jun 9, 2022

Copy link
Copy Markdown
Contributor

Jenkins test sanity.functional,extended.functional alinux64 jdk11

@knn-k

knn-k commented Jun 9, 2022

Copy link
Copy Markdown
Contributor

Jenkins test sanity.system,extended.system amac jdk11

@knn-k

knn-k commented Jun 9, 2022

Copy link
Copy Markdown
Contributor

The following tests passed:

@knn-k knn-k self-assigned this Jun 9, 2022
@knn-k
knn-k merged commit e8e6f5e into eclipse-openj9:master Jun 9, 2022
@Akira1Saitoh
Akira1Saitoh deleted the aarch64InterfaceCallCache branch June 10, 2022 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants