RFR: 8339783: Implement JEP 479: Remove the Windows 32-bit x86 Port [v30]

Julian Waters jwaters at openjdk.org
Wed Nov 6 04:43:42 UTC 2024


On Wed, 6 Nov 2024 01:44:48 GMT, Alex Menkov <amenkov 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!

To my knowledge the only thing __cdecl and __stdcall do is affect the argument passing on the stack since 32 bit uses the stack to pass arguments. Since 64 bit passes arguments inside registers and then only later uses the stack if there are too many parameters to fit in the parameter registers (Basically permanent __fastcall), these specifiers are probably ignored in all 64 bit platforms

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21744#issuecomment-2458712195


More information about the core-libs-dev mailing list