getappmap / getappmap/appmap-java

Record Java threads automatically

Open
#209 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
88
Forks
17
Avg merge
2d 2h
Merged PRs (30d)
1

Description

Current behavior is that new threads spawned from the main thread will not record anything.

Detect when a thread starts and begin recording then. Take care not to overwhelm the filesystem with thousands of AppMaps in the case where there’s a large thread pool processing lots of messages per thread.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by tracing how recording begins for the main thread and where new thread creation can be observed; then determine how to record spawned threads without producing excessive AppMaps for large thread pools. Done means spawned threads record as intended while filesystem output remains bounded.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.