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.
29 lines
804 B
Plaintext
29 lines
804 B
Plaintext
dump
|
|
===
|
|
|
|
> dump 已加载类的 bytecode 到特定目录
|
|
|
|
### 参数说明
|
|
|
|
|参数名称|参数说明|
|
|
|---:|:---|
|
|
|*class-pattern*|类名表达式匹配|
|
|
|`[c:]`|类所属 ClassLoader 的 hashcode|
|
|
|[E]|开启正则表达式匹配,默认为通配符匹配|
|
|
|
|
### 使用参考
|
|
|
|
```bash
|
|
$ dump java.lang.String
|
|
HASHCODE CLASSLOADER LOCATION
|
|
null /Users/admin/logs/arthas/classdump/java/lang/String.class
|
|
Affect(row-cnt:1) cost in 119 ms.
|
|
```
|
|
|
|
```bash
|
|
$ dump demo.*
|
|
HASHCODE CLASSLOADER LOCATION
|
|
3d4eac69 +-sun.misc.Launcher$AppClassLoader@3d4eac69 /Users/admin/logs/arthas/classdump/sun.misc.Launcher$AppClassLoader-3d4eac69/demo/MathGame.class
|
|
+-sun.misc.Launcher$ExtClassLoader@66350f69
|
|
Affect(row-cnt:1) cost in 39 ms.
|
|
``` |