diff --git a/README.html b/README.html index 38fc525dc..25d2f41f9 100644 --- a/README.html +++ b/README.html @@ -8,7 +8,7 @@ - <no title> — Arthas 3.5.5 文档 + <no title> — Arthas 3.5.6 文档 @@ -72,7 +72,7 @@
- 3.5.5 + 3.5.6
diff --git a/_sources/classloader.md.txt b/_sources/classloader.md.txt index 4039a2b4d..d5468efcf 100644 --- a/_sources/classloader.md.txt +++ b/_sources/classloader.md.txt @@ -124,3 +124,37 @@ load class success. +-sun.misc.Launcher$ExtClassLoader@66350f69 classLoaderHash 3d4eac69 ``` + +#### 统计ClassLoader实际使用URL和未使用的URL + +> 注意,基于JVM目前已加载的所有类统计,不代表`Unused URLs`可以从应用中删掉。因为可能将来需要从`Unused URLs`里加载类,或者需要加载`resources`。 + +``` +$ classloader --url-stat + com.taobao.arthas.agent.ArthasClassloader@3c41660, hash:3c41660 + Used URLs: + file:/Users/admin/.arthas/lib/3.5.6/arthas/arthas-core.jar + Unused URLs: + + sun.misc.Launcher$AppClassLoader@75b84c92, hash:75b84c92 + Used URLs: + file:/Users/admin/code/java/arthas/math-game/target/math-game.jar + file:/Users/admin/.arthas/lib/3.5.6/arthas/arthas-agent.jar + Unused URLs: + + sun.misc.Launcher$ExtClassLoader@7f31245a, hash:7f31245a + Used URLs: + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunec.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunjce_provider.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/localedata.jar + Unused URLs: + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/nashorn.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/cldrdata.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/legacy8ujsse.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/jfxrt.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/dnsns.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/openjsse.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunpkcs11.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/jaccess.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/zipfs.jar +``` \ No newline at end of file diff --git a/_sources/commands.md.txt b/_sources/commands.md.txt index 132af9199..09495d6a0 100644 --- a/_sources/commands.md.txt +++ b/_sources/commands.md.txt @@ -4,6 +4,7 @@ * [dashboard](dashboard.md) * [thread](thread.md) * [jvm](jvm.md) +* [memory](memory.md) * [sysprop](sysprop.md) * [sysenv](sysenv.md) * [vmoption](vmoption.md) diff --git a/_sources/faq.md.txt b/_sources/faq.md.txt index 2d75a3b49..52ffaceb8 100644 --- a/_sources/faq.md.txt +++ b/_sources/faq.md.txt @@ -17,9 +17,9 @@ com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded -1. 检查当前用户和目标java进程是否一致。如果不一致,则切换到同一用户。JVM只能attach同样用户下的java 进程。 +1. 检查当前用户和目标java进程是否一致。如果不一致,则切换到同一用户。JVM只能attach同样用户下的java 进程。 2. 尝试使用 `jstack -l $pid`,如果进程没有反应,则说明进程可能假死,无法响应JVM attach信号。所以同样基于attach机制的Arthas无法工作。尝试使用`jmap` heapdump后分析。 -3. 尝试按[quick-start](quick-start.md)里的方式attach math-game。 +3. 尝试按[quick-start](quick-start.md)里的方式attach math-game。 4. 更多情况参考: [https://github.com/alibaba/arthas/issues/347](https://github.com/alibaba/arthas/issues/347) ##### trace/watch等命令能否增强jdk里的类? @@ -69,6 +69,13 @@ watch demo.MathGame primeFactors '{params,returnObj,throwExp}' 'params.length >0 watch demo.MathGame '{params,returnObj,throwExp}' -v ``` +##### 输入中文/Unicode字符 + +把中文/Unicode字符转为`\u`表示方法: + +```bash +ognl '@java.lang.System@out.println("Hello \u4e2d\u6587")' +``` ##### java.lang.ClassFormatError: null、skywalking arthas 兼容使用 diff --git a/_sources/memory.md.txt b/_sources/memory.md.txt new file mode 100644 index 000000000..401c97d19 --- /dev/null +++ b/_sources/memory.md.txt @@ -0,0 +1,25 @@ +memory +=== + +查看JVM 内存信息。 + + +### 使用参考 + +``` +$ memory +Memory used total max usage +heap 32M 256M 4096M 0.79% +g1_eden_space 11M 68M -1 16.18% +g1_old_gen 17M 184M 4096M 0.43% +g1_survivor_space 4M 4M -1 100.00% +nonheap 35M 39M -1 89.55% +codeheap_'non-nmethods' 1M 2M 5M 20.53% +metaspace 26M 27M -1 96.88% +codeheap_'profiled_nmethods' 4M 4M 117M 3.57% +compressed_class_space 2M 3M 1024M 0.29% +codeheap_'non-profiled_nmethods' 685K 2496K 120032K 0.57% +mapped 0K 0K - 0.00% +direct 48M 48M - 100.00% +``` + diff --git a/_static/documentation_options.js b/_static/documentation_options.js index 53d88d5ab..f6e5bba1c 100644 --- a/_static/documentation_options.js +++ b/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '3.5.5', + VERSION: '3.5.6', LANGUAGE: 'zh_CN', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', diff --git a/advanced-use.html b/advanced-use.html index 8f6b2e09c..ea22b6eb2 100644 --- a/advanced-use.html +++ b/advanced-use.html @@ -8,7 +8,7 @@ - 进阶使用 — Arthas 3.5.5 文档 + 进阶使用 — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
- 3.5.5 + 3.5.6
diff --git a/advice-class.html b/advice-class.html index 55c1bd425..51a01ce18 100644 --- a/advice-class.html +++ b/advice-class.html @@ -8,7 +8,7 @@ - 表达式核心变量 — Arthas 3.5.5 文档 + 表达式核心变量 — Arthas 3.5.6 文档 @@ -72,7 +72,7 @@
- 3.5.5 + 3.5.6
diff --git a/agent.html b/agent.html index f81acb43e..7ed4b8716 100644 --- a/agent.html +++ b/agent.html @@ -8,7 +8,7 @@ - 以Java Agent的方式启动 — Arthas 3.5.5 文档 + 以Java Agent的方式启动 — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
- 3.5.5 + 3.5.6
diff --git a/arthas-properties.html b/arthas-properties.html index b8c90816a..b5fb6256a 100644 --- a/arthas-properties.html +++ b/arthas-properties.html @@ -8,7 +8,7 @@ - Arthas Properties — Arthas 3.5.5 文档 + Arthas Properties — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
- 3.5.5 + 3.5.6
diff --git a/arthas3.html b/arthas3.html index 21e14d863..537a0b932 100644 --- a/arthas3.html +++ b/arthas3.html @@ -8,7 +8,7 @@ - Arthas3.0的新特性 — Arthas 3.5.5 文档 + Arthas3.0的新特性 — Arthas 3.5.6 文档 @@ -72,7 +72,7 @@
- 3.5.5 + 3.5.6
diff --git a/arthas_3_0/new_feature.html b/arthas_3_0/new_feature.html index 5f16ef9c9..de89d1872 100644 --- a/arthas_3_0/new_feature.html +++ b/arthas_3_0/new_feature.html @@ -8,7 +8,7 @@ - Arthas 3.0新特性介绍 — Arthas 3.5.5 文档 + Arthas 3.0新特性介绍 — Arthas 3.5.6 文档 @@ -72,7 +72,7 @@
- 3.5.5 + 3.5.6
diff --git a/async.html b/async.html index 68ec70fbe..b9b529d49 100644 --- a/async.html +++ b/async.html @@ -8,7 +8,7 @@ - Arthas后台异步任务 — Arthas 3.5.5 文档 + Arthas后台异步任务 — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
- 3.5.5 + 3.5.6
diff --git a/auth.html b/auth.html index d688dac78..91340ddea 100644 --- a/auth.html +++ b/auth.html @@ -8,7 +8,7 @@ - auth — Arthas 3.5.5 文档 + auth — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
- 3.5.5 + 3.5.6
@@ -111,6 +111,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/base64.html b/base64.html index d7c377ddb..21833b5e4 100644 --- a/base64.html +++ b/base64.html @@ -8,7 +8,7 @@ - base64 — Arthas 3.5.5 文档 + base64 — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    @@ -111,6 +111,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/batch-support.html b/batch-support.html index 8c5c60a25..fbad9eb00 100644 --- a/batch-support.html +++ b/batch-support.html @@ -8,7 +8,7 @@ - 批处理功能 — Arthas 3.5.5 文档 + 批处理功能 — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/cat.html b/cat.html index 16699e49a..7767d9014 100644 --- a/cat.html +++ b/cat.html @@ -8,7 +8,7 @@ - cat — Arthas 3.5.5 文档 + cat — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    @@ -111,6 +111,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/classloader.html b/classloader.html index fa6be4d21..e46bce61e 100644 --- a/classloader.html +++ b/classloader.html @@ -8,7 +8,7 @@ - classloader — Arthas 3.5.5 文档 + classloader — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    @@ -111,6 +111,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • @@ -134,6 +135,7 @@
  • 查看URLClassLoader实际的urls
  • 使用ClassLoader去查找resource
  • 使用ClassLoader去加载类
  • +
  • 统计ClassLoader实际使用URL和未使用的URL
  • @@ -376,6 +378,40 @@ load class success. classLoaderHash 3d4eac69 +
    +

    统计ClassLoader实际使用URL和未使用的URL

    +
    +

    注意,基于JVM目前已加载的所有类统计,不代表Unused URLs可以从应用中删掉。因为可能将来需要从Unused URLs里加载类,或者需要加载resources

    +
    +
    $ classloader --url-stat
    + com.taobao.arthas.agent.ArthasClassloader@3c41660, hash:3c41660
    + Used URLs:
    + file:/Users/admin/.arthas/lib/3.5.6/arthas/arthas-core.jar
    + Unused URLs:
    +
    + sun.misc.Launcher$AppClassLoader@75b84c92, hash:75b84c92
    + Used URLs:
    + file:/Users/admin/code/java/arthas/math-game/target/math-game.jar
    + file:/Users/admin/.arthas/lib/3.5.6/arthas/arthas-agent.jar
    + Unused URLs:
    +
    + sun.misc.Launcher$ExtClassLoader@7f31245a, hash:7f31245a
    + Used URLs:
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunec.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunjce_provider.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/localedata.jar
    + Unused URLs:
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/nashorn.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/cldrdata.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/legacy8ujsse.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/jfxrt.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/dnsns.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/openjsse.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunpkcs11.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/jaccess.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/zipfs.jar
    +
    +
    diff --git a/cls.html b/cls.html index 41fac69e5..8f1b885d9 100644 --- a/cls.html +++ b/cls.html @@ -8,7 +8,7 @@ - cls — Arthas 3.5.5 文档 + cls — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    @@ -111,6 +111,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/commands.html b/commands.html index ed6c5b1de..a58177ce6 100644 --- a/commands.html +++ b/commands.html @@ -8,7 +8,7 @@ - 命令列表 — Arthas 3.5.5 文档 + 命令列表 — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    @@ -111,6 +111,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • @@ -242,6 +243,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/contact-us.html b/contact-us.html index a7b8be266..60aef70a0 100644 --- a/contact-us.html +++ b/contact-us.html @@ -8,7 +8,7 @@ - 联系我们 — Arthas 3.5.5 文档 + 联系我们 — Arthas 3.5.6 文档 @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/dashboard.html b/dashboard.html index eaafd0859..f7b5c316b 100644 --- a/dashboard.html +++ b/dashboard.html @@ -8,7 +8,7 @@ - dashboard — Arthas 3.5.5 文档 + dashboard — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    @@ -120,6 +120,7 @@
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/docker.html b/docker.html index 034ea4bd6..2bc5c1cea 100644 --- a/docker.html +++ b/docker.html @@ -8,7 +8,7 @@ - Docker — Arthas 3.5.5 文档 + Docker — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/download.html b/download.html index 74a2ca223..321f2fa9c 100644 --- a/download.html +++ b/download.html @@ -8,7 +8,7 @@ - 下载 — Arthas 3.5.5 文档 + 下载 — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/dump.html b/dump.html index 081403061..70dffab3d 100644 --- a/dump.html +++ b/dump.html @@ -8,7 +8,7 @@ - dump — Arthas 3.5.5 文档 + dump — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    @@ -111,6 +111,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/echo.html b/echo.html index 6bfe03731..50715d06f 100644 --- a/echo.html +++ b/echo.html @@ -8,7 +8,7 @@ - echo — Arthas 3.5.5 文档 + echo — Arthas 3.5.6 文档 @@ -74,7 +74,7 @@
    - 3.5.5 + 3.5.6
    @@ -111,6 +111,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/en/.buildinfo b/en/.buildinfo index da630cbed..44aa033e1 100644 --- a/en/.buildinfo +++ b/en/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 174387956a429487e7e713b4ad63ff22 +config: 20cef68d6d8ef26763caeb64247d3070 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/en/.doctrees/classloader.doctree b/en/.doctrees/classloader.doctree index b74ca9cc5..74b4a302d 100644 Binary files a/en/.doctrees/classloader.doctree and b/en/.doctrees/classloader.doctree differ diff --git a/en/.doctrees/commands.doctree b/en/.doctrees/commands.doctree index 50add37eb..fa936fd65 100644 Binary files a/en/.doctrees/commands.doctree and b/en/.doctrees/commands.doctree differ diff --git a/en/.doctrees/environment.pickle b/en/.doctrees/environment.pickle index fe57c2905..d40f4af96 100644 Binary files a/en/.doctrees/environment.pickle and b/en/.doctrees/environment.pickle differ diff --git a/en/.doctrees/faq.doctree b/en/.doctrees/faq.doctree index bb869be0b..bd26e78d7 100644 Binary files a/en/.doctrees/faq.doctree and b/en/.doctrees/faq.doctree differ diff --git a/en/.doctrees/memory.doctree b/en/.doctrees/memory.doctree new file mode 100644 index 000000000..8bae658b4 Binary files /dev/null and b/en/.doctrees/memory.doctree differ diff --git a/en/README.html b/en/README.html index 63addaecc..52ba0531b 100644 --- a/en/README.html +++ b/en/README.html @@ -8,7 +8,7 @@ - <no title> — Arthas 3.5.5 documentation + <no title> — Arthas 3.5.6 documentation @@ -71,7 +71,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/en/_sources/classloader.md.txt b/en/_sources/classloader.md.txt index c835230ab..e26770377 100644 --- a/en/_sources/classloader.md.txt +++ b/en/_sources/classloader.md.txt @@ -120,4 +120,38 @@ load class success. class-loader +-sun.misc.Launcher$AppClassLoader@3d4eac69 +-sun.misc.Launcher$ExtClassLoader@66350f69 classLoaderHash 3d4eac69 -``` \ No newline at end of file +``` + +#### Statistics ClassLoader actually used URLs and unused URLs + +> Note that statistics are based on all classes currently loaded by the JVM. Does not mean that `Unused URLs` can be removed from the application. Because it may be necessary to load classes from `Unused URLs` in the future, or to load `resources`. + +``` +$ classloader --url-stat + com.taobao.arthas.agent.ArthasClassloader@3c41660, hash:3c41660 + Used URLs: + file:/Users/admin/.arthas/lib/3.5.6/arthas/arthas-core.jar + Unused URLs: + + sun.misc.Launcher$AppClassLoader@75b84c92, hash:75b84c92 + Used URLs: + file:/Users/admin/code/java/arthas/math-game/target/math-game.jar + file:/Users/admin/.arthas/lib/3.5.6/arthas/arthas-agent.jar + Unused URLs: + + sun.misc.Launcher$ExtClassLoader@7f31245a, hash:7f31245a + Used URLs: + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunec.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunjce_provider.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/localedata.jar + Unused URLs: + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/nashorn.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/cldrdata.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/legacy8ujsse.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/jfxrt.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/dnsns.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/openjsse.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunpkcs11.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/jaccess.jar + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/zipfs.jar +``` diff --git a/en/_sources/commands.md.txt b/en/_sources/commands.md.txt index a4a3eeae3..8982fdf4d 100644 --- a/en/_sources/commands.md.txt +++ b/en/_sources/commands.md.txt @@ -4,6 +4,7 @@ All Commands * [dashboard](dashboard.md) * [thread](thread.md) * [jvm](jvm.md) +* [memory](memory.md) * [sysprop](sysprop.md) * [sysenv](sysenv.md) * [vmoption](vmoption.md) @@ -48,7 +49,7 @@ All Commands * help - examines help information * cls - clears out the screen -* session - examines the current session +* [session](session.md) - examines the current session * [reset](reset.md) - resets enhanced classes. All enhanced classes will be reset to their original states. When Arthas server closes, all these enhanced classes will be reset too * version - prints out Arthas's version * history - view command history diff --git a/en/_sources/faq.md.txt b/en/_sources/faq.md.txt index efcb203fa..d77b41e7c 100644 --- a/en/_sources/faq.md.txt +++ b/en/_sources/faq.md.txt @@ -70,6 +70,13 @@ watch demo.MathGame primeFactors '{params,returnObj,throwExp}' 'params.length >0 watch demo.MathGame '{params,returnObj,throwExp}' -v ``` +##### Enter Unicode characters + +Convert Unicode characters to `\u` representation: + +```bash +ognl '@java.lang.System@out.println("Hello \u4e2d\u6587")' +```` ##### java.lang.ClassFormatError: null, skywalking arthas compatible use diff --git a/en/_sources/memory.md.txt b/en/_sources/memory.md.txt new file mode 100644 index 000000000..6e11c4280 --- /dev/null +++ b/en/_sources/memory.md.txt @@ -0,0 +1,25 @@ +memory +=== + +View the JVM memory information. + + +### Usage + +```bash +$ memory +Memory used total max usage +heap 32M 256M 4096M 0.79% +g1_eden_space 11M 68M -1 16.18% +g1_old_gen 17M 184M 4096M 0.43% +g1_survivor_space 4M 4M -1 100.00% +nonheap 35M 39M -1 89.55% +codeheap_'non-nmethods' 1M 2M 5M 20.53% +metaspace 26M 27M -1 96.88% +codeheap_'profiled_nmethods' 4M 4M 117M 3.57% +compressed_class_space 2M 3M 1024M 0.29% +codeheap_'non-profiled_nmethods' 685K 2496K 120032K 0.57% +mapped 0K 0K - 0.00% +direct 48M 48M - 100.00% +``` + diff --git a/en/_static/documentation_options.js b/en/_static/documentation_options.js index 7ebeabcde..68d0e0a07 100644 --- a/en/_static/documentation_options.js +++ b/en/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '3.5.5', + VERSION: '3.5.6', LANGUAGE: 'en', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', diff --git a/en/advanced-use.html b/en/advanced-use.html index 909798246..f947f3824 100644 --- a/en/advanced-use.html +++ b/en/advanced-use.html @@ -8,7 +8,7 @@ - Advanced Usage — Arthas 3.5.5 documentation + Advanced Usage — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/en/advice-class.html b/en/advice-class.html index 4a1b20f9d..f3cec5fe7 100644 --- a/en/advice-class.html +++ b/en/advice-class.html @@ -8,7 +8,7 @@ - Fundamental Fields in Expressions — Arthas 3.5.5 documentation + Fundamental Fields in Expressions — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    @@ -108,6 +108,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/en/agent.html b/en/agent.html index 05de47fea..72924494c 100644 --- a/en/agent.html +++ b/en/agent.html @@ -8,7 +8,7 @@ - Start as a Java Agent — Arthas 3.5.5 documentation + Start as a Java Agent — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/en/arthas-properties.html b/en/arthas-properties.html index 52b9ebf7e..7f9b661da 100644 --- a/en/arthas-properties.html +++ b/en/arthas-properties.html @@ -8,7 +8,7 @@ - Arthas Properties — Arthas 3.5.5 documentation + Arthas Properties — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/en/async.html b/en/async.html index aa9ab46f7..abcfdc4f6 100644 --- a/en/async.html +++ b/en/async.html @@ -8,7 +8,7 @@ - Arthas Async Jobs — Arthas 3.5.5 documentation + Arthas Async Jobs — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/en/auth.html b/en/auth.html index a2985b85e..1842c82e9 100644 --- a/en/auth.html +++ b/en/auth.html @@ -8,7 +8,7 @@ - auth — Arthas 3.5.5 documentation + auth — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    @@ -108,6 +108,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/en/base64.html b/en/base64.html index 2de4ed7ee..bdbbf8cd8 100644 --- a/en/base64.html +++ b/en/base64.html @@ -8,7 +8,7 @@ - base64 — Arthas 3.5.5 documentation + base64 — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    @@ -108,6 +108,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/en/batch-support.html b/en/batch-support.html index 03e345d38..0d23644e8 100644 --- a/en/batch-support.html +++ b/en/batch-support.html @@ -8,7 +8,7 @@ - Batch Processing — Arthas 3.5.5 documentation + Batch Processing — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/en/cat.html b/en/cat.html index 5b173833e..a518d4e70 100644 --- a/en/cat.html +++ b/en/cat.html @@ -8,7 +8,7 @@ - cat — Arthas 3.5.5 documentation + cat — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    @@ -108,6 +108,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • diff --git a/en/classloader.html b/en/classloader.html index 5832fee79..0a89ec3e9 100644 --- a/en/classloader.html +++ b/en/classloader.html @@ -8,7 +8,7 @@ - classloader — Arthas 3.5.5 documentation + classloader — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    @@ -108,6 +108,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • @@ -131,6 +132,7 @@
  • Show the URLs of the URLClassLoader
  • Use the classloader to load resource
  • Use the classloader to load class
  • +
  • Statistics ClassLoader actually used URLs and unused URLs
  • @@ -370,6 +372,40 @@ load class success. classLoaderHash 3d4eac69 +
    +

    Statistics ClassLoader actually used URLs and unused URLs

    +
    +

    Note that statistics are based on all classes currently loaded by the JVM. Does not mean that Unused URLs can be removed from the application. Because it may be necessary to load classes from Unused URLs in the future, or to load resources.

    +
    +
    $ classloader --url-stat
    + com.taobao.arthas.agent.ArthasClassloader@3c41660, hash:3c41660
    + Used URLs:
    + file:/Users/admin/.arthas/lib/3.5.6/arthas/arthas-core.jar
    + Unused URLs:
    +
    + sun.misc.Launcher$AppClassLoader@75b84c92, hash:75b84c92
    + Used URLs:
    + file:/Users/admin/code/java/arthas/math-game/target/math-game.jar
    + file:/Users/admin/.arthas/lib/3.5.6/arthas/arthas-agent.jar
    + Unused URLs:
    +
    + sun.misc.Launcher$ExtClassLoader@7f31245a, hash:7f31245a
    + Used URLs:
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunec.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunjce_provider.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/localedata.jar
    + Unused URLs:
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/nashorn.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/cldrdata.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/legacy8ujsse.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/jfxrt.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/dnsns.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/openjsse.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/sunpkcs11.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/jaccess.jar
    + file:/tmp/jdk1.8/Contents/Home/jre/lib/ext/zipfs.jar
    +
    +
    diff --git a/en/cls.html b/en/cls.html index 8c0774c9d..54825dfbc 100644 --- a/en/cls.html +++ b/en/cls.html @@ -8,7 +8,7 @@ - cls — Arthas 3.5.5 documentation + cls — Arthas 3.5.6 documentation @@ -71,7 +71,7 @@
    - 3.5.5 + 3.5.6
    diff --git a/en/commands.html b/en/commands.html index 82cc18f00..0170a9443 100644 --- a/en/commands.html +++ b/en/commands.html @@ -8,7 +8,7 @@ - All Commands — Arthas 3.5.5 documentation + All Commands — Arthas 3.5.6 documentation @@ -73,7 +73,7 @@
    - 3.5.5 + 3.5.6
    @@ -108,6 +108,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • @@ -228,6 +229,7 @@
  • dashboard
  • thread
  • jvm
  • +
  • memory
  • sysprop
  • sysenv
  • vmoption
  • @@ -267,7 +269,7 @@