[jdk17u-dev] RFR: 8320687: sun.jvmstat.monitor.MonitoredHost.getMonitoredHost() throws unexpected exceptions when invoked concurrently
duke
duke at openjdk.org
Mon Apr 28 16:35:51 UTC 2025
On Fri, 25 Apr 2025 16:37:20 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:
> Backporting JDK-8320687: sun.jvmstat.monitor.MonitoredHost.getMonitoredHost() throws unexpected exceptions when invoked concurrently. The fix proposes to guard the usage of the shared ServiceLoader instance through the monitoredHosts object monitor. Adds test. Ran GHA Sanity Checks, local Tier 1, 2, and 3, and new `test/jdk/sun/jvmstat/monitor/MonitoredVm/ConcurrentGetMonitoredHost.java` tests. Patch is almost clean (copyright header is slightly different).
@satyenme
Your change (at version 83dc516d8214fa30e0dc39ab0ed43e2a65035dcc) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3531#issuecomment-2835834322
More information about the jdk-updates-dev
mailing list