RFR: 8347270: Remove unix_getParentPidAndTimings and unix_getCmdlineAndUserInfo

Roger Riggs rriggs at openjdk.org
Thu Jan 9 17:12:37 UTC 2025


On Thu, 9 Jan 2025 16:47:18 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The functions unix_getParentPidAndTimings and unix_getCmdlineAndUserInfo in src/java.base/unix/native/libjava/ProcessHandleImpl_unix.c used to hold an implementation that was shared between Solaris and AIX. Linux and MacOS already had specific implementations. After the removal of the Solaris port, these two functions can be removed in favor of inline implementations of os_getParentPidAndTimings and os_getCmdlineAndUserInfo in src/java.base/aix/native/libjava/ProcessHandleImpl_aix.c.

Nice cleaup.  Thanks

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

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23013#pullrequestreview-2540490952


More information about the core-libs-dev mailing list