Commit 1a200bf
committed
gh-151518: Wake only registered attach waiters
Avoid a parking-lot lookup when resuming a suspended thread that
has not tried to reattach. Use the old state from the successful CAS
so concurrent waiter registration still receives a wakeup.1 parent 4093ea6 commit 1a200bf
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2441 | 2441 | | |
2442 | 2442 | | |
2443 | 2443 | | |
2444 | | - | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
2445 | 2447 | | |
2446 | 2448 | | |
2447 | 2449 | | |
| |||
0 commit comments