jetty/jetty.project

Provide a thread pool that limits virtual threads creation

Open

#14,362 建立於 2026年1月19日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Java (3,701 star) (1,913 fork)batch import
EnhancementHelp Wanted

描述

Jetty version(s) 12.1.x

Enhancement Description Following discussion in #14330, would be nice to document how to create a thread pool that actually limits the number of virtual threads.

Would a QueuedThreadPool with a virtual ThreadFactory be enough?

貢獻者指南