RFR: 8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table
Kevin Walls
kevinw at openjdk.org
Mon Nov 4 18:23:20 UTC 2024
This test is sensitive to timing, and should not run with -Xcomp (like NotifReconnectDeadlockTest.java).
With -Xcomp, this test can fail on the the conn.getDefaultDomain() call, but if we handle that, it can also fail on the first iteration through the loop, at the call: JMXConnector client = JMXConnectorFactory.connect(addr, env);
This test sets a short timeout value for connections, and -Xcomp slows things down greatly. RMI is gone before the connection is established.
-------------
Commit messages:
- 8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table
Changes: https://git.openjdk.org/jdk/pull/21884/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21884&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8343491
Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/21884.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21884/head:pull/21884
PR: https://git.openjdk.org/jdk/pull/21884
More information about the serviceability-dev
mailing list