update doc

This commit is contained in:
hengyunabc 2019-09-23 16:09:12 +08:00
parent b738166afd
commit 38e3718187
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,8 @@ Reference: [Instrumentation#redefineClasses](https://docs.oracle.com/javase/8/do
> Notes: Re-defined classes cannot be restored. There are chances that redefining may fail due to some reasons, for example: there's new field introduced in the new version of the class, pls. refer to JDK's documentation for the limitations.
> The `reset` command is not valid for classes that have been processed by `redefine`. If you want to reset, you need `redefine` the original bytecode.
### Options
|Name|Specification|

View File

@ -7,6 +7,8 @@ redefine
> 注意, redefine后的原来的类不能恢复redefine有可能失败比如增加了新的field参考jdk本身的文档。
> `reset`命令对`redefine`的类无效。如果想重置,需要`redefine`原始的字节码。
### 参数说明
|参数名称|参数说明|