Is it safe to call Java code via JNI from the COMPILED_METHOD_LOAD
callback? The JVMTI spec is not explicit about this, and the closest thing
I could find is in relation to the GenerateEvents function:

"Attempts to execute Java programming language code or JNI functions may be
paused until this function returns - so neither should be called from the
thread sending the event. This function returns only after the missed
events have been sent, processed and have returned".

Thanks,
Martin

Reply via email to