Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't sample terminated thread
  • Loading branch information
zhengyu123 committed Jun 30, 2025
commit 0315204c87a5e0a68dc314f9176b139024c3c815
4 changes: 3 additions & 1 deletion ddprof-lib/src/main/cpp/wallClock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ void WallClockJVMTI::timerLoop() {
}
mode = convertJvmExecutionState(raw_thread_state);
}
if (state == OSThreadState::UNKNOWN) {
if (state == OSThreadState::TERMINATED) {
return false;
} else if (state == OSThreadState::UNKNOWN) {
state = OSThreadState::RUNNABLE;
}
event._thread_state = state;
Expand Down
Loading