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

Harold Seigel hseigel at openjdk.java.net
Thu Jan 28 19:38:01 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

Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:

  8260264: restore stack APIs, move ftruncate and numa APIs

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2267/files
  - new: https://git.openjdk.java.net/jdk/pull/2267/files/c39e1f8e..d9597254

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2267&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2267&range=00-01

  Stats: 41 lines in 4 files changed: 8 ins; 18 del; 15 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