我注册了一个JVMTI Event
MethodEntry,它的回调函数是
tdMethodEntry
如果有很多MethodEntry 事件,我的问题是
these event will be processed by the same thread through queue? or be processed by several threads?
最佳答案
MethodEntry
回调与许多其他 JVMTI 事件回调一样,在引发此事件的应用程序线程上同步执行。如果应用程序运行多个线程,MethodEntry
回调可能会在这些线程上同时运行。事件不排队。
请参阅 JVMTI 规范 Events部分。
关于java - 由同一个线程处理的同一种 JVMTI EVENT?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40499977/