instrumenting all variable access

y a <[email protected]> Fri, 1 Jul 2011 10:50:01 +0300
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <[email protected]>
--bcaec54ee8dad4fba304a6fd43fa
Content-Type: text/plain; charset=ISO-8859-1

HI there

I need to dynamically log all read/write access to any variables/objects
during class execution in the jvm
This is for a phd parallelism research, and i have a strong background in
C/java

a. Are there any existing code out there ?
I played with BCEL to trace some of the opcodes... nice stuff



b. Can someone recommend how to add some semantic info  from the .class
source file ?
For example, i would like to know if a certain variable is a for-loop
counter

Has anyone combined some of the syntax-tree parsers with BCEL ?



Thanks for any suggestions or input


yazriel atty  gmail dotty com

--bcaec54ee8dad4fba304a6fd43fa--