Version
4.x
Context
This is a sister of netty/netty#16158 and affecting Quarkus while running with VirtualThread(s) because the mentioned synchronized block is not loom friendly and inflate the lock, causing increases in native memory usage, background deflation activity and leading to native mutex contention as well.
Replacing it with a reentrant lock could be a better option.
Steps to reproduce
No response
Do you have a reproducer?
No response
Version
4.x
Context
This is a sister of netty/netty#16158 and affecting Quarkus while running with VirtualThread(s) because the mentioned synchronized block is not loom friendly and inflate the lock, causing increases in native memory usage, background deflation activity and leading to native mutex contention as well.
Replacing it with a reentrant lock could be a better option.
Steps to reproduce
No response
Do you have a reproducer?
No response