RFR: 8260264: Move common os_<unix> inline methods to a common posix source file

Harold Seigel hseigel at openjdk.java.net
Wed Jan 27 19:19:51 UTC 2021


Please review this fix for JDK-8260264 to move common functions from os_<unix>.inline.hpp files to os_posix.inline.hpp.  Functions ftruncate() and the two numa* functions could also be moved to os_posix.inline.hpp but would require BSD_ONLY and AIX_ONLY macros because of minor differences.

The change was tested by running Mach5 tiers 1,2 on Linux, Mac OS, and Windows, and tiers 3-5 on Linux x64.  Additionally, builds were done on Linux-s390x, Linux-ppc, Linux-arm32, and linux-x86.

Thanks, Harold

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

Commit messages:
 - 8260264: Move common os_<unix> inline methods to a common posix source file

Changes: https://git.openjdk.java.net/jdk/pull/2267/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2267&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8260264
  Stats: 244 lines in 4 files changed: 60 ins; 184 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2267.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2267/head:pull/2267

PR: https://git.openjdk.java.net/jdk/pull/2267


More information about the hotspot-runtime-dev mailing list