RFR: 8339783: Implement JEP 479: Remove the Windows 32-bit x86 Port [v30]
Thomas Stuefe
stuefe at openjdk.org
Wed Nov 6 09:15:12 UTC 2024
On Wed, 6 Nov 2024 09:12:02 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> > I think you may be throwing the baby out with the bath water when it comes to `__stdcall`. It may be that 32-bit requires `__stdcall` but I don't see anything that states `__stdcall` is ONLY for 32-bit!
>
> stdcall and cdecl are 32-bit Windows calling conventions. On x64 and arm64, as on all other platforms we support, there is just one calling convention. See https://en.wikipedia.org/wiki/X86_calling_conventions#Microsoft_x64_calling_convention.
>
> I am sure __stdcall is ignored by the compiler on x64 or arm64.
Never mind my noise, other people did already answer this :-)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21744#issuecomment-2459080708
More information about the core-libs-dev
mailing list