RFR: 8354811: clock_tics_per_sec code duplication between os_linux and os_posix
Christoph Langer
clanger at openjdk.org
Fri Apr 25 10:47:59 UTC 2025
On Thu, 17 Apr 2025 11:39:37 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> I noticed we have 2 usages here as well
>
> https://github.com/openjdk/jdk/blob/1138a186eb670e2c0662bda69c35680b41f4d66c/src/hotspot/os/aix/os_perf_aix.cpp#L121
>
> Should I call the new method there too ? On AIX it is clock_t (an int type, looking at the headers it is a typedef to 'int') .
Yes, I think it would make sense if AIX then used os::Posix::clock_tics_per_second() as well.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24720#issuecomment-2830063614
More information about the hotspot-runtime-dev
mailing list