@Preston, please use the mailing list for all communication.


I was referring to the object code and not the byte code. The bytecode will not tell you how the VM is executing your code at runtime.

Look at http://axtaxt.wordpress.com/2012/04/22/debugging-java-vms-jit-compiler/

It describes how to get the object code dump from the VM.

Vinayak


-------- Original Message --------
Date:   Sun, 20 Apr 2014 21:27:23 -0700
From:   Eldon Carman <[email protected]>
To:     Vinayak Borkar <[email protected]>, Till Westmann <[email protected]>



Hi Guys,

I was looking into the byte code and the methods that hold the
synchronization statement are called with the invokeinterface bytecode
instruction. I did not see the monitorenter instruction used. Is this
because the invokeinterface hides that from the calling function?

invokeinterface #21,  2           // InterfaceMethod
java/io/DataOutput.writeInt:(I)V

The instruction shows the code has not been inlined for these write
statements. The function is invoking a object's interface method. Is
this what your were looking for Vinayak?

Thanks
Preston


Reply via email to