- Enclosing interface:
Hotswap
Defines a listener interface to handle notifications when one or more
classes are successfully redefined or retransformed during the runtime.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled by the runtime after one or more classes have been successfully redefined or retransformed.
-
Method Details
-
onClassesRedefined
void onClassesRedefined()Called by the runtime after one or more classes have been successfully redefined or retransformed. Thread model: - Invoked on the Java thread that initiated the corresponding JVMTI RedefineClasses or RetransformClasses call (never on VMThread and never while the VM is at a safepoint). Restrictions: - Must return quickly and avoid long blocking operations. - Must NOT trigger another class redefinition or retransformation. - Any exception thrown by this method is ignored by the runtime.
-