RFR: 8339783: Implement JEP 479: Remove the Windows 32-bit x86 Port [v30]
Thomas Stuefe
stuefe at openjdk.org
Wed Nov 6 09:15:11 UTC 2024
On Wed, 6 Nov 2024 04:40:24 GMT, Julian Waters <jwaters 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.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21744#issuecomment-2459078526
More information about the build-dev
mailing list