Integrated: 8290840: Refactor the "os" class

Ioi Lam iklam at openjdk.org
Thu Aug 4 01:24:17 UTC 2022


On Thu, 21 Jul 2022 19:45:13 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Please see [JDK-8290840](https://bugs.openjdk.org/browse/JDK-8290840) for the detailed proposal.
> 
> The `os` class, declared in os.hpp, forms the major part of the HotSpot porting interface. Its structure has gradually deteriorated over the years as new ports are created and new APIs are added.
> 
> This RFE tries to address the following:
> 
> - Clearly specify where a porting API should be declared and defined among the various `os*.cpp` and `os*.hpp` files.
> - Avoid the inappropriate inclusion of OS-specific APIs (such as the `os::Linux class`) by platform-independent source files.

This pull request has now been integrated.

Changeset: b6b0317f
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b6b0317f832985470ccf4bc1e2abf9015ce5bd54
Stats:     1463 lines in 94 files changed: 692 ins; 683 del; 88 mod

8290840: Refactor the "os" class

Reviewed-by: dholmes, gziemski, stuefe, stefank

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

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


More information about the hotspot-dev mailing list