On Thu, 27 Nov 2025 21:55:10 GMT, Jonas Norlinder <[email protected]> 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. This pull request has now been integrated. Changeset: 08c16c38 Author: Jonas Norlinder <[email protected]> Committer: Kevin Walls <[email protected]> URL: https://git.openjdk.org/jdk/commit/08c16c384ac9dac22da960ad718ceb95b41ca660 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod 8372704: ThreadMXBean.getThreadUserTime may return total time Reviewed-by: alanb, kevinw, dholmes ------------- PR: https://git.openjdk.org/jdk/pull/28545
