RFR: 8325137: com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java can fail in Xcomp with out of expected range [v2]

Doug Simon dnsimon at openjdk.org
Fri Feb 2 11:08:07 UTC 2024


On Fri, 2 Feb 2024 10:48:26 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> Or maybe they are not done the initial -Xcomp compile and waitUntilThreadBlocked() is mistakenly thinking they are now idle...

Yes, I believe this is the case.

It's not really clear to me what the test is testing. As far as I can see, if the 2 timings are meant to be taken when the worker threads are idle, I would have thought the expected delta should be 0.

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

PR Comment: https://git.openjdk.org/jdk/pull/17675#issuecomment-1923578655


More information about the serviceability-dev mailing list