On 06/08/2013 12:16, Daniel D. Daugherty wrote:

In general, event handlers should do as little as possible to avoid
adverse interactions with the rest of the VM. Calling Java code from
an event handler would not really qualify "as little as possible".

You should probably check out the "Handling Events" subsection in
this doc:

http://docs.oracle.com/javase/7/docs/platform/jvmti/jvmti.html#EventSection

In particular there is a bullet list of general guidelines.

Dan
One thing to add is that this event is specified for the "live phase" only so JNI should be okay (modulo the guidelines that Dan cited).

-Alan.

Reply via email to