文章目录
准备
此文章目的不是为了解释什么,就是为了以后使用命令的时候有一个直观的感受
https://github.com/alibaba/arthas
https://alibaba.github.io/arthas/advanced-use.html
启动Demo
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
public class Demo {
static class Counter {
private static AtomicInteger count = new AtomicInteger(0);
public static void increment() {
count.incrementAndGet();