On Tue, 28 Feb 2023 20:49:51 GMT, Mandy Chung <mch...@openjdk.org> wrote:
>> Alan Bateman has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Update isXXXThreadCpuTimeSupported descriptions > > src/java.management/share/classes/java/lang/management/ThreadMXBean.java line > 529: > >> 527: /** >> 528: * Tests if the Java virtual machine implementation supports CPU >> time >> 529: * measurement for any platform thread. > > This change can also apply in `@return` (line 538) Yes, this make sense although getting the word right for isCurrentThreadCpuTimeSupported is tricky because its about the caller of getCurrentThreadCpuTime/getCurrentThreadUserTime rather than the caller of isCurrentThreadCpuTimeSupported. Hopefully it is clearer now. ------------- PR: https://git.openjdk.org/jdk/pull/12762