Type Alias ittapi_sys::piJIT_Method_Update
source · pub type piJIT_Method_Update = *mut _iJIT_Method_Update;
Expand description
@brief Description of a dynamic update of the content within JIT-compiled method @details The JIT engine may generate the methods that are updated at runtime partially by mixed (data + executable code) content. When you use the iJIT_Method_Update structure to describe the update of the content within a JIT-compiled method, use iJVM_EVENT_TYPE_METHOD_UPDATE_V2 as an event type to report it.
On the first Update event, VTune Amplifier copies the original code range reported by the iJVM_EVENT_TYPE_METHOD_LOAD event, then modifies it with the supplied bytes and adds the modified range to the original method. For next update events, VTune Amplifier does the same but it uses the latest modified version of a code region for update. Eventually, VTune Amplifier GUI displays multiple code ranges for the method reported by the iJVM_EVENT_TYPE_METHOD_LOAD event. Notes:
- Multiple update events with different types for the same trace are allowed but they must be reported for the same code ranges. Example, @code [– data—] Allowed [– code –] Allowed [code] Ignored [– data—] Allowed [– code –] Allowed [———— trace ———] @endcode
- The types of previously reported events can be changed but they must be reported for the same code ranges. Example, @code [– data—] Allowed [– code –] Allowed [– data—] Allowed [– code –] Allowed [———— trace ———] @endcode