mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
enhance translation
This commit is contained in:
@@ -1,21 +1,18 @@
|
||||
redefine
|
||||
========
|
||||
|
||||
Load the external `*.class` files to **re-define** the JVM-loaded classes.
|
||||
> Load the external `*.class` files to re-define the loaded peer class in JVM.
|
||||
|
||||
Reference: [Instrumentation#redefineClasses](https://docs.oracle.com/javase/8/docs/api/java/lang/instrument/Instrumentation.html#redefineClasses-java.lang.instrument.ClassDefinition...-)
|
||||
|
||||
F.Y.I
|
||||
|
||||
1. Re-defined classes cannot be restores any more;
|
||||
2. Re-definition can fail (like adding a new field/method); for more information, please refer to JDK documentation
|
||||
> 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.
|
||||
|
||||
### Options
|
||||
|
||||
|Name|Specification|
|
||||
|---:|:---|
|
||||
|[c:]|hashcode of the class loader|
|
||||
|[p:]|absolute path of the external `*.class` (multiple paths supported)|
|
||||
|`[c:]`|hashcode of the class loader|
|
||||
|`[p:]`|absolute path of the external `*.class`, multiple paths are separated with 'space'|
|
||||
|
||||
|
||||
### Usage
|
||||
|
||||
Reference in New Issue
Block a user