Integrated: 8358577: Test serviceability/jvmti/thread/GetCurrentContendedMonitor/contmon01/contmon01.java failed: unexpexcted monitor object
Alex Menkov
amenkov at openjdk.org
Tue Jun 10 19:07:33 UTC 2025
On Fri, 6 Jun 2025 23:41:03 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
> The change fixes race in the test.
> Tested thread is expected to have no contended monitor when main thread checks it, but System.out.println() can cause waiting on a monitor when concurrent printing is performed, so printing should not be performed after signalling main thread to continue.
This pull request has now been integrated.
Changeset: 8f487d26
Author: Alex Menkov <amenkov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/8f487d26c0f219d4df32be48ff1790e6f98d74a0
Stats: 3 lines in 1 file changed: 1 ins; 1 del; 1 mod
8358577: Test serviceability/jvmti/thread/GetCurrentContendedMonitor/contmon01/contmon01.java failed: unexpexcted monitor object
Reviewed-by: cjplummer, syan, sspitsyn
-------------
PR: https://git.openjdk.org/jdk/pull/25683
More information about the serviceability-dev
mailing list