RFR: 8265473: Move os::Linux to its own header file [v3]

Ioi Lam iklam at openjdk.org
Fri Jul 8 18:16:35 UTC 2022


> Another step of moving unnecessary stuff outside of os.hpp
> 
> The `os::Linux` class is used only by the Linux-specific code in HotSpot. Therefore, it should be moved outside of os.hpp, which is used by platform-independent code.
> 
> I don't have a good name for the new header. `os_linux.hpp` would have been a good name, but that's already taken, so I am settling on os_linux.impl.hpp. Suggestions are welcome.

Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:

  Fixed other linux variants

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9423/files
  - new: https://git.openjdk.org/jdk/pull/9423/files/c8bd68b4..5c540f8c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9423&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9423&range=01-02

  Stats: 6 lines in 6 files changed: 6 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/9423.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9423/head:pull/9423

PR: https://git.openjdk.org/jdk/pull/9423


More information about the hotspot-dev mailing list