Windows on ARM
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Wed Aug 14 10:37:23 UTC 2024
Hi Manuel,
Windows/ARM is not a combination provided by Oracle.
That said, FFM supports Windows/ARM. So, assuming you can get your hands
on a build, it will work.
Quoting from the JEP:
> While the |Linker| interface is neutral with respect to calling
> conventions, the native linker is optimized for the calling
> conventions of many platforms:
>
> * Linux/x64
> * Linux/AArch64
> * Linux/RISC-V
> * Linux/PPC64
> * Linux/s390
> * macOS/x64
> * macOS/AArch64
> * Windows/x64
> * Windows/AArch64
> * AIX/ppc64
>
> The native linker supports the calling conventions of other platforms
> <https://github.com/libffi/libffi#supported-platforms> by delegating
> to |libffi| <https://github.com/libffi/libffi>.
>
So, in principle, every platform/OS combination should work - sometimes
they will be supported directly (and Windows/ARM is one such case).
Other times, you will use the fallback linker, which will be slower, but
fully functional.
Hope this helps.
Maurizio
On 13/08/2024 19:14, Manuel Bleichenbacher wrote:
> Hi Panama team
>
> What's the state of FFM on Windows on ARM?
>
> As far as I can tell, OpenJDK builds are only available for JDK 21, 17
> and 11, and only by Microsoft and Azul. So I guess it has not been
> officially released for Windows on ARM.
>
> Is the code ready for Windows on ARM? Does the JDK 21 version at least
> contain a preview version of FFM? Can we expect to have a release
> version with the next release of the Windows on ARM OpenJDK?
>
> Regards
> Manuel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20240814/f0f6125b/attachment.htm>
More information about the panama-dev
mailing list