Hello
I’ve found a need to change the granularity of JVMTI’s DynamicCodeGenerated for 
interpreter’s generated code.

Currently it shows just one big interpreter area, probably because of this code:

 JvmtiExport::post_dynamic_code_generated("Interpreter",
                                             
AbstractInterpreter::code()->code_start(),
                                             
AbstractInterpreter::code()->code_end());

However for template interpreter it’s possible to generate such entry for every 
bytecode instruction code generated ( e.g. one for sipush, etc). Just like 
-XX:+PrintInterpreter does.

What would be the ideal place to insert detailed 
JvmtiExport::post_dynamic_code_generated() calls  then ?

Thanks in advance, Vladimir

Reply via email to