RFR: 8346880: [aix] java/lang/ProcessHandle/InfoTest.java still fails: "reported cputime less than expected"

Christoph Langer clanger at openjdk.org
Thu Jan 9 10:40:52 UTC 2025


On Wed, 8 Jan 2025 13:51:53 GMT, Joachim Kern <jkern at openjdk.org> wrote:

> > > Seems, that we were the only remainding users of unix_getParentPidAndTimings(). Should I remove the orphant?
> > 
> > 
> > I would be in favor of removing it (in this PR or separate).
> 
> OK agree, but in a separate PR. Could you please create a JBS bug?

There is a comment indicating that both, unix_getParentPidAndTimings and unix_getCmdlineAndUserInfo were use for a common implementation of Solaris and AIX:
https://github.com/openjdk/jdk/blob/672c413c61d9b155020a0fd4bd1c2bc0661a60fb/src/java.base/unix/native/libjava/ProcessHandleImpl_unix.c#L94

So now, after Solaris was deprecated and removed, I think it's time to clean this up and move to AIX specific os_* implementations. From my POV you could do it in this PR as well.

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

PR Comment: https://git.openjdk.org/jdk/pull/22966#issuecomment-2577771469


More information about the core-libs-dev mailing list