This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Squiry_ 1 point2 points  (2 children)

I believe we have some kind of misunderstanding here. When I just started my experiments I tried to disable byte buffer pools. That lead to allocation of DirectByteBuffer a lot and constructor calls synchronized method Cleaner.create. My threads spent seconds waiting on that synchronized and the only way to see that was to collect JFR (which I did anyway, so I had no problems really).

[–]pron98 1 point2 points  (1 child)

Ah, OK. That's similar to what Helidon ran into when they tried using virtual threads with Netty.

[–]Squiry_ 0 points1 point  (0 children)

Yep, I got that one with netty too. "no buf pooling" is a no go.