jmx-dev RFR: 8350939: Revisit Windows PDH buffer size calculation for OperatingSystemMXBean

Jaikiran Pai jpai at openjdk.org
Thu Mar 6 13:28:12 UTC 2025


On Mon, 3 Mar 2025 17:08:21 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> We calculate a size (length of the counter in characters), which might be '\Process(java#0)% Processor Time', 33 chars.

Isn't that 32 characters?

I understood the rest of the explanation in this PR and the change sounds reasonable to me. It's just this character count that I'm unsure about. Is that a typo?

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

PR Comment: https://git.openjdk.org/jdk/pull/23861#issuecomment-2703849110


More information about the jmx-dev mailing list