From: vishal j. <vis...@gm...> - 2012-10-15 18:21:26
|
Hi, I am working on a Jikes RVM project and is trying to understand the control flow of execution of Java program running on RVM. The BaseLine compiler Compiles the method(by reading bytecode) and stores them in an array "machineCodes" which has the machine code translation the bytecode of Java program which I run. I wanted to know where exactly are the machine codes from this array executed finally ? Also, when printing all the machine codes present in this array, a lot of code does not correspond to the Java program I am running. I guess this corresponds to some part of Jikes RVM itself being compiled by Baseline compiler. Am I right? And if so, how do I distinguish the machine code of my Java program from the machine code of Jikes RVM itself. I also want to establish a communication channel(example a Pipe) between my Java program and Jikes RVM. This has to be done to find the trace of Java program. All the instructions of Java program will write information in this channel which could be read by Jikes RVM. How should I implement this? Thanks and Regards -- Vishal Jain 4th year UG student CSE,IITD |