[jdk11u] RFR: 8304389: [11u] Crash on Windows in C2 compiled code after 8248238 and 8218431

Goetz Lindenmaier goetz at openjdk.org
Mon Mar 20 19:05:10 UTC 2023


On Fri, 17 Mar 2023 07:47:44 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> … 8218431
> 
> A required fix to avoid regression in 11.0.19. See JBS issue.

Actually, the configuration leading to errors exactly implements the calling conventions as speified here https://learn.microsoft.com/en-us/cpp/build/x64-calling-convention?view=msvc-170#callercallee-saved-registers .

The other configuration, doing more save-on-call, is always correct, but inefficient in case the registers are also saved-on-entry. In that case the registers are saved twice.  This is the configuration established by this change again.

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

PR Comment: https://git.openjdk.org/jdk11u/pull/70#issuecomment-1476780664


More information about the jdk-updates-dev mailing list