RFR: 8372704: ThreadMXBean.getThreadUserTime may return total time [v2]

Kevin Walls kevinw at openjdk.org
Fri Nov 28 08:59:59 UTC 2025


On Fri, 28 Nov 2025 08:42:24 GMT, Jonas Norlinder <jnorlinder at openjdk.org> wrote:

>> getThreadUserTime will return total (system + user) time if called with e.g. ManagementFactory.getThreadMXBean().getThreadUserTime(Thread.currentThread().threadId()).
>> 
>> The specification for this methods states that only user-level CPU time would ever be returned on success.
>
> Jonas Norlinder has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix copyright year

Marked as reviewed by kevinw (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/28545#pullrequestreview-3517985724


More information about the serviceability-dev mailing list