Skip to content

Commit 829742b

Browse files
Ian MyersPaul Hohensee
authored andcommitted
8358577: Test serviceability/jvmti/thread/GetCurrentContendedMonitor/contmon01/contmon01.java failed: unexpexcted monitor object
Backport-of: 8f487d26c0f219d4df32be48ff1790e6f98d74a0
1 parent 622c743 commit 829742b

File tree

1 file changed

+2
-2
lines changed
  • test/hotspot/jtreg/serviceability/jvmti/thread/GetCurrentContendedMonitor/contmon01

1 file changed

+2
-2
lines changed

test/hotspot/jtreg/serviceability/jvmti/thread/GetCurrentContendedMonitor/contmon01/contmon01.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -154,9 +154,9 @@ public void run() {
154154
System.out.println("check #2 done");
155155

156156
System.out.println("notifying main thread");
157+
System.out.println("thread is going to loop while <flag> is true ...");
157158
contmon01.startingBarrier = false;
158159

159-
System.out.println("thread is going to loop while <flag> is true ...");
160160
int i = 0;
161161
int n = 1000;
162162
while (flag) {

0 commit comments

Comments
 (0)