Skip to content

ECO-CMP-JAVA-003 — Thread pool misconfiguration

  • Category: Computation (CMP)
  • Family: Java (JAVA)
  • Layer: Architecture
  • Tier: 2
  • Severity: warning
  • Tags: java, threads, latency
  • Legacy ID: ECO-JAVA-003

Summary

Incorrect thread pool sizing can waste CPU or cause latency collapse.

Rationale

Too many threads = contention; too few = underutilization and queues.

Impact

{
  "confidence": 0.7,
  "notes": "Tune to workload and downstream limits.",
  "type": "latency"
}

Detection

{
  "languages": [
    "java"
  ],
  "method": "trace"
}

Remediation

{
  "guidance": "Tune pools; add backpressure; align with DB/HTTP limits.",
  "tradeoffs": "Requires measurement."
}

Ontology

{
  "system_layers": [
    "architecture"
  ]
}