8259354: Fix race condition in AbstractEventStream.nextThreadName
Reviewed-by: egahlin
This commit is contained in:
parent
227f99d394
commit
81c0624286
@ -276,8 +276,7 @@ public abstract class AbstractEventStream implements EventStream {
|
||||
}
|
||||
|
||||
private String nextThreadName() {
|
||||
counter.incrementAndGet();
|
||||
return "JFR Event Stream " + counter;
|
||||
return "JFR Event Stream " + counter.incrementAndGet();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user