Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a startup profiler for debugging #2085

Merged
merged 21 commits into from
Feb 7, 2022
Merged
Changes from 1 commit
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ public void run() {
}

private void write(ThreadInfo threadInfo) {
if (capture(threadInfo)) {}
if (capture(threadInfo)) {
// TODO look like this is not used.
}
heyams marked this conversation as resolved.
Show resolved Hide resolved
out.println(threadInfo.getThreadName() + " #" + threadInfo.getThreadId());
out.println(" java.lang.Thread.State: " + threadInfo.getThreadState());
for (StackTraceElement ste : threadInfo.getStackTrace()) {
Expand Down