diff --git a/site/src/site/sphinx/en/jad.md b/site/src/site/sphinx/en/jad.md index ef6a55ad5..a7c27cfcf 100644 --- a/site/src/site/sphinx/en/jad.md +++ b/site/src/site/sphinx/en/jad.md @@ -1,27 +1,24 @@ jad === -De-compile specified loaded classes. +> De-compile the specified classes. -`jad` helps to *de-compile* the byte code in JVM to the source code to assist you to better understand the logic behind. +`jad` helps to de-compile the byte code running in JVM to the source code to assist you to understand the logic behind better. -F.Y.I -* the de-compiled code will be grammatically highlighted for readability in Arthas console; -* there might be some trivial grammar errors but it won't affect the logic understanding. +* The de-compiled code is syntax highlighted for better readability in Arthas console. +* It is possible that there's grammar error in the de-compiled code, but it should not affect your interpretation. ### Options |Name|Specification| |---:|:---| |*class-pattern*|pattern for the class name| -|[c:]|hashcode of the class loader that loaded the class| -|[E]|turn on regex matching while the default is wildcard matching| +|`[c:]`|hashcode of the class loader that loads the class| +|`[E]`|turn on regex match while the default is wildcard match| ### Usage -When several class loaders loaded the same class: -1. `jad` to get the hashcode of the class loader; -2. `jad -c ` to get the de-compiled class loaded by the specified class loader. +> If the target class is loaded by multiple classloaders, `jad` outputs the `hashcode` of the corresponding classloaders, then you can re-run `jad` and specify `-c ` to de-compile the target class from the specified classloader. ```java $ jad org.apache.log4j.Logger @@ -156,7 +153,3 @@ private Map directMetrics(String ip, String[] metrics) { Affect(row-cnt:1) cost in 1508 ms. ``` - -F.Y.I - -Inner class is not yet supported, you can just check the *outer* class to further check the inner class.