Skip to content

Use bounded thread pool for scanner tasks#10

Merged
atomiczsec merged 1 commit intomainfrom
codex/replace-forkjoin-pool-with-threadpoolexecutor
Nov 16, 2025
Merged

Use bounded thread pool for scanner tasks#10
atomiczsec merged 1 commit intomainfrom
codex/replace-forkjoin-pool-with-threadpoolexecutor

Conversation

@atomiczsec
Copy link
Owner

Summary

  • replace the ForkJoinPool with a bounded ThreadPoolExecutor that is initialized when the extension loads
  • remove the synchronization bottleneck when enqueuing scanner tasks and rely on the executor/queue to regulate throughput
  • update the shutdown path to terminate the new executor cleanly

Testing

  • ./gradlew test

Codex Task

@atomiczsec atomiczsec merged commit fc9bb93 into main Nov 16, 2025
1 check passed
@atomiczsec atomiczsec deleted the codex/replace-forkjoin-pool-with-threadpoolexecutor branch November 16, 2025 16:29
@atomiczsec atomiczsec removed the codex label Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant