RFR: 8347270: Remove unix_getParentPidAndTimings, unix_getChildren and unix_getCmdlineAndUserInfo
Matthias Baesken
mbaesken at openjdk.org
Fri Jan 10 10:45:41 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.
Hi Christoph, I adjusted the COPYRIGHT info and removed unix_getChildren .
Regarding 'Solaris' mentioning in this file , I removed that one too but a grep shows there are plenty of Solaris comments etc. in the codebase.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23013#issuecomment-2582394133
More information about the core-libs-dev
mailing list