RFR: JDK-8293997: Unify os::current_thread_cpu_time_info and os::thread_cpu_time_info

David Holmes dholmes at openjdk.org
Mon Sep 19 20:54:45 UTC 2022


On Mon, 19 Sep 2022 11:10:54 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> The 2 methods os::current_thread_cpu_time_info and os::thread_cpu_time_info could be unified across the posix platforms.

Yes there is only one caller as this is the VM implementation of those JVMTI methods. But the "info" functions describe the properties of the associated "timer/clock" and those are platform specific.

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

PR: https://git.openjdk.org/jdk/pull/10335


More information about the hotspot-runtime-dev mailing list