The runtime component of Role Normalization and Synthesis, this bytecode instrumentation agent implements its aspect-oriented and message-oriented features.
A pure Java library, with premain-class
org.hawkinssoftware.rns.agent.RNSInstrumentationAgent
A VM argument specifies loading of the agent:
-javaagent:<path/to/rns-agent>.jar
The path is relative to the initial working directory of the JVM.
The following features require the agent to be installed:
ExecutionPath
and related functionality@InitializationAspect
@ValidateRead
and@ValidateWrite
ClassLoadObserver
- Profilers using bytecode instrumentation will usually have conflicts with the RNS agent and fail to connect.
- Performance is quite poor for certain features, many of which would be more properly implemented in the AST analyzer; please consider that this is a prototype implementation.