You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The 2 lambda expressions here access the maxConnections and connectionSamples fields without synchronization. They are run in Micrometer threads.
These same fields are updated in Jetty threads and the fields are protected by the connectionSamplesLock monitor otherwise.
The lambda expressions must acquire connectionSamplesLock to ensure correctness.