Lincheck Java Agent
LincheckJavaAgent represents the Lincheck Java agent responsible for instrumenting bytecode.
Properties
The Instrumentation instance is used to perform bytecode transformations during runtime.
Determines how to transform classes; see InstrumentationMode.STRESS and InstrumentationMode.MODEL_CHECKING.
Names (canonical) of the classes that were instrumented since the last agent installation.
Functions
Ensures that the whole hierarchy of the given class is transformed for Lincheck analysis. See the description above.
This function ensures that the whole hierarchy of the given class is transformed for Lincheck analysis.
Ensures that the given object and all objects reachable from it are transformed for Lincheck analysis. The function is called upon a test instance creation to ensure that all the classes related to it are transformed.
Adds LincheckClassFileTransformer to this JVM instance. Also, retransforms already loaded classes.
Detaches LincheckClassFileTransformer from this JVM instance and re-transforms the transformed classes to remove the Lincheck injections.