mirror of https://github.com/alibaba/arthas.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
804 B
Markdown
20 lines
804 B
Markdown
|
|
通过`vmtool`命令,可以搜索内存对象。
|
|
|
|
`vmtool --action getInstances --className java.lang.String --limit 10`{{execute T2}}
|
|
|
|
```bash
|
|
$ vmtool --action getInstances --className java.lang.String --limit 10
|
|
@String[][
|
|
@String[com/taobao/arthas/core/shell/session/Session],
|
|
@String[com.taobao.arthas.core.shell.session.Session],
|
|
@String[com/taobao/arthas/core/shell/session/Session],
|
|
@String[com/taobao/arthas/core/shell/session/Session],
|
|
@String[com/taobao/arthas/core/shell/session/Session.class],
|
|
@String[com/taobao/arthas/core/shell/session/Session.class],
|
|
@String[com/taobao/arthas/core/shell/session/Session.class],
|
|
@String[com/],
|
|
@String[java/util/concurrent/ConcurrentHashMap$ValueIterator],
|
|
@String[java/util/concurrent/locks/LockSupport],
|
|
]
|
|
``` |