-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
7, 8
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
Looking at the diff here : http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/65b0c03b165d
I think, Changing JvmtiExport::post_compiled_method_load(JvmtiEnv* env,..) to JvmtiExport::post_compiled_method_load(nmethod*) version is possibly incorrect since, this would do callbacks to multiple jvmti environments (jvmti agents) and that it is unexpected. Callbacks are expected to be called to current jvmti env which called GenerateEvents.
FREQUENCY : always
Looking at the diff here : http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/65b0c03b165d
I think, Changing JvmtiExport::post_compiled_method_load(JvmtiEnv* env,..) to JvmtiExport::post_compiled_method_load(nmethod*) version is possibly incorrect since, this would do callbacks to multiple jvmti environments (jvmti agents) and that it is unexpected. Callbacks are expected to be called to current jvmti env which called GenerateEvents.
FREQUENCY : always
- duplicates
-
JDK-8222072 JVMTI GenerateEvents() sends CompiledMethodLoad events to wrong jvmtiEnv
- Resolved