-
Bug
-
Resolution: Fixed
-
P4
-
25
-
None
-
master
The native Windows code for the implementation of OperatingSystemMXBean, creates a buffer for the name of Windows performance counter (method makeFullCounterPath in OperatingSystemImpl.c).
WhenJDK-8336289 changed _snprintf to snprintf, some Counter names were truncated, therefore not found, and OS CPU monitoring failed.
The artithmetic for the buffer size needs revisiting, and snprintf can be reinstated.
When
The artithmetic for the buffer size needs revisiting, and snprintf can be reinstated.
- relates to
-
JDK-8350820 OperatingSystemMXBean CpuLoad() methods return -1.0 on Windows
-
- Resolved
-
-
JDK-8336289 Obliterate most references to _snprintf in the Windows JDK
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/8f8a879d
-
Review(master) openjdk/jdk/23861