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

Matthias Baesken mbaesken at openjdk.org
Tue Sep 20 07:11:30 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.

Hi David, in theory the info functions could be platform specific; in practise currently they are all the same on posix AND Windows, see https://github.com/openjdk/jdk/blob/master/src/hotspot/os/windows/os_windows.cpp#L4642 .

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

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


More information about the hotspot-runtime-dev mailing list