[jdk21u-dev] Integrated: 8320687: sun.jvmstat.monitor.MonitoredHost.getMonitoredHost() throws unexpected exceptions when invoked concurrently
Satyen Subramaniam
ssubramaniam at openjdk.org
Mon Apr 28 16:49:56 UTC 2025
On Fri, 25 Apr 2025 16:36:41 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 clean.
This pull request has now been integrated.
Changeset: 4c1d2319
Author: Satyen Subramaniam <ssubramaniam at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk21u-dev/commit/4c1d231925ccfd133e1fdd8d875bbd3141360e86
Stats: 103 lines in 2 files changed: 93 ins; 7 del; 3 mod
8320687: sun.jvmstat.monitor.MonitoredHost.getMonitoredHost() throws unexpected exceptions when invoked concurrently
Backport-of: 81484d8c0520cf55ec58fc7b4c81880e69537674
-------------
PR: https://git.openjdk.org/jdk21u-dev/pull/1714
More information about the jdk-updates-dev
mailing list