The feature even supports integration with runtime bytecode modification, which this article discusses later.
这个特性甚至支持与运行时字节码修改进行集成,这将在本文 后面 讨论。
Indeed, if the bytecode modification is expensive, caching the modified classes has an even greater benefit, as the transformation only ever needs to be performed once.
实际上,如果字节码修改的开销很大,那么对经过修改的类进行缓存有很大的好处,因为变换只需要执行一次。
Thus, it is always more efficient to use the modified suboption. Note that this is only possible because the JVM knows that bytecode modification is imminent because of the presence of the JVMTI agent.
Runtime bytecode modification Runtime bytecode modification is becoming a popular means of instrumenting behaviour into Java classes.
运行时字节码修改正在成为将功能加入 Java 类的流行方法。
Contenuto potenzialmente sensibile o inappropriato
La funzione degli esempi è unicamente quella di aiutarti a tradurre la parola o l'espressione cercata inserendola in un contesto. Gli esempi non sono stati scelti e validati manualmente da noi e potrebbero contenere termini o contenuti non appropriati. Ti preghiamo di segnalarci gli esempi da correggere e quelli da non mostrare più. Le traduzioni potenzialmente sensibili, inappropriate o colloquiali sono in genere evidenziate in rosso o in arancione.