jetty / jetty/jetty.project

MonitoredQueuedThreadPool should monitor tryExecute()

Open
#5,827 5 comments 0 reactions 0 assignees View on GitHub
Help Wanted Low Priority Pinned
Dominant language
Java
Stars
4.1k
Forks
2k
Avg merge
3d 56m
Merged PRs (30d)
48

Description

**Jetty version**
9.4.x

**Description**
`MonitoredQueuedThreadPool` does not "wrap" `tryExecute(Runnable)` like it wraps `execute(Runnable)`, and therefore statistics are incomplete (or completely lacking) when the pool is in EPC mode.

Contributor guide

Open the contributing guide

Research direction

Start by locating MonitoredQueuedThreadPool and comparing how it wraps execute(Runnable) with the tryExecute(Runnable) path. Trace the EPC-mode execution flow and identify the existing statistics updates. Done means tryExecute(Runnable) is monitored consistently and the pool statistics are complete in EPC mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.