

Arthas works as an observer, which will never suspend your existing threads. No JVM restart, no additional code changes.

A developer can troubleshoot your production issues on-the-fly. Time is money! This approach is inefficient! Besides, the issue may not be reproducible once the JVM is restarted, as described above.Īrthas was built to solve these issues. However, this is tricky as some issues cannot be reproduced easily on a different environment, or even disappear once restarted.Īnd if you're thinking of adding some logs to your code to help troubleshoot the issue, you will have to go through the following lifecycle test, staging, and then to production. More importantly, debugging in production environment is unacceptable, as it will suspend all the threads, resulting in the suspension of business services.ĭevelopers could always try to reproduce the same issue on the test/staging environment. If issues are encountered in production systems, it is impossible to use IDEs to debug the application remotely. Often times, the production system network is inaccessible from the local development environment. Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器ArthasĪrthas is a Java Diagnostic tool open sourced by Alibaba.Īrthas allows developers to troubleshoot production issues for Java applications without modifying code or restarting servers.
