Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8343452

Incorrect WINDOWS build variable is used in macroAssembler_x86.cpp

XMLWordPrintable

    • b24
    • x86
    • windows

      HotSpot VM build macro defines _WINDOWS env variable only.
      call_clobbered_gp_registers() and call_clobbered_xmm_registers() incorrectly use WINDOWS (without underscore).
      RSI and RDI are missing from list of clobbered register on windows due to that and may cause issue when calling native code which modifies them.

      AMM register are less affected because all XMM registers are listed as clobbered.

      The code was added by JDK-8283327 changes in JDK 19.

            tweidmann Theo Weidmann (Inactive)
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: