JDK-8347270 : Remove unix_getParentPidAndTimings, unix_getChildren and unix_getCmdlineAndUserInfo
  • Type: Bug
  • Component: core-libs
  • Affected Version: 25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2025-01-08
  • Updated: 2025-01-20
  • Resolved: 2025-01-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25 b06Fixed
Related Reports
Relates :  
Description
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.

Comments
Changeset: 1f7925ce Branch: master Author: Matthias Baesken <mbaesken@openjdk.org> Date: 2025-01-13 07:47:39 +0000 URL: https://git.openjdk.org/jdk/commit/1f7925ceb4460b1052c93969749a52487bf133fc
13-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/23013 Date: 2025-01-09 16:47:18 +0000
09-01-2025

> can I assign this to you? That's fine!
09-01-2025

Yes, this factoring/inlining make sense. [~mbaesken] can I assign this to you? I don't have an AIX environment to build/test the result.
08-01-2025