Skip to content

Thread dump

Helen Y edited this page Feb 10, 2022 · 1 revision

Thread dump

We use thread dump to troubleshoot Java Codeless Agent's startup performance. If you experience that the agent startup takes longer than usual, you can submit the thread dump to us and we can help you investigate the cause of the slowness.

If you use a JVM arg -Dapplicationinsights.debug.startupProfiling=true, it will automatically generate a thread dump file under the default temp folder applicationinsights/stacktrace.txt.

applicationinsights.log will have the file path. It has something like Writing startup profiler to C:\Users\${USER_NAME}\AppData\Local\Temp\applicationinsights\stacktrace.txt.