Skip to content
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

Optimize unrecognized intrinsic candidates in jdk.misc.Internal.Unsafe #19110

Open
1 of 13 tasks
jmesyou opened this issue Mar 8, 2024 · 1 comment
Open
1 of 13 tasks
Assignees
Labels

Comments

@jmesyou
Copy link
Contributor

jmesyou commented Mar 8, 2024

This epic tracks the ongoing work and status of lowering currently unrecognized @IntrinsicCandidate methods in the jdk.internal.misc.Unsafe class in the JIT compiler.

@jmesyou jmesyou added the Epic label Mar 8, 2024
@jmesyou jmesyou self-assigned this Mar 8, 2024
@jmesyou
Copy link
Contributor Author

jmesyou commented Mar 28, 2024

The instruction for CLWB was implemented in eclipse-omr/omr#7253. The intention was to lower calls to writeback0 to the CLWB instruction in the x86 backend but support for writeback0 is unnecessary because OpenJ9 has taken a different approach. A native implementation of writebackMemory, the only parent caller of writeback0, is provided for the runtime instead of writeback0. Therefore calls to writeback0 are never made and never need to be recognized nor replaced by the JIT compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant