Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust: use a different
METHOD_LOAD
event (#105)
Previously, the Rust bindings used the `iJVM_EVENT_TYPE_METHOD_INLINE_LOAD_FINISHED` event to notify VTune of new JIT code. This may not be correct: it is unclear from the documentation, but an "inline JIT-compiled method" sounds more like self-modifying code, not typically what we think of with JIT-compiled code. JIT-compiled as used elsewhere (e.g., Wasmtime) is emitted in a memory allocation that is separate from the runtime binary code region. This change uses the `iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED` event instead.
- Loading branch information