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?

贡献者指南