[jdk11u-dev] RFR: 8248817: Windows: Improving common cross-platform code

Reka Kovacs github.com+25946952+rnkovacs at openjdk.java.net
Sun Aug 29 19:14:57 UTC 2021


Not a clean backport. Differences to the original commit:

- The removed lines in `stubGenerator_x86_32.cpp` and `stubGenerator_x86_64.cpp` are slightly different on tip (comments - [JDK-8234563](https://bugs.openjdk.java.net/browse/JDK-8234563), MP checks - [JDK-8188764](https://bugs.openjdk.java.net/browse/JDK-8188764)), but fundamentally the same.
- Changes to `add`, `xchg` and `cmpxchg` definitions in `atomic_windows_x86.hpp` needed to be adjusted to keep the original parameter orders (changed in JDK 14 by [JDK-8234563](https://bugs.openjdk.java.net/browse/JDK-8234563)).

Changes to `os_windows_x86.cpp` and `os_windows_x86.hpp` could be applied cleanly.

This is part of the Windows/AArch64 port.

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

Commit messages:
 - Backport 257809d7440e87ac595d03b6c9a98d8f457f314c

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/300/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=300&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8248817
  Stats: 512 lines in 5 files changed: 5 ins; 450 del; 57 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/300.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/300/head:pull/300

PR: https://git.openjdk.java.net/jdk11u-dev/pull/300


More information about the jdk-updates-dev mailing list