Adding in the Serviceability team since JVM/TI belongs there.

Dan


On 12/12/17 7:46 AM, Vladimir Ivanov wrote:
Thanks for the report, Amir!

Unfortunately, I can't access the bug you filed.

Can you, please, share the test case and instructions how to reproduce the problem?

Also, what Java version & platform do you observe the bug on?

I briefly looked into template interpreter code on x86 and it does have relevant code to post JVMTI events in fast accessors.

Best regards,
Vladimir Ivanov

On 12/12/17 11:12 AM, Amir Rapson wrote:
Hi Daniel, Coleen and Vladimir,

I tracked your email addresses from some mailing lists and hopefully one of you is a relevant person for my problem.

I also filed a bug request (ID 9051849) but since I don’t have an option to add information I decided to email you.

The problem I’m seeing is that JMTI does not receive field access events (and probably field modification events) when /fast_getfield/ is used instead of /get_field/.

I verified this by disabling all the /patch_bytecode(Bytecodes::_fast_?getfield, bc, rbx)/ in /TemplateTable::getfield_or_static()/ and made sure that JVMTI receives all the correct events.

I have the agent code and a short java program that can reproduce the problem and would be happy to assist in fixing and or debugging this issue.

I would appreciate any feedback.

Best regards,

Amir

​​​​​Amir Rapson | Founder & VP Eng @ *vFunction* | 7 HaPelech St. Tel-Aviv | +972-522650968


Reply via email to