This directory contains the code for our memory phase visualization utility. Warning: some hacking required. 1) You will need to have access to the source code of the application you want to visualize. Compile the application with debugging symbols, and make a static build (no shared libraries). Don't make a stripped binary. 2) Next, create an object dump file of your application: % objdump -d -l firefox-bin > firefox.objdump The object dump file should look like sample.objdump 3) Next, use Pin to create your trace file. 4) Generate the plot of the memory phases for your trace file (e.g. firefox.gif). 5) Replace the string on line 109 of bb3.java with the path to your application. 6) Compile the visualization utility and analysis code: % wget http://java.sun.com/developer/technicalArticles/Programming/sprintf/PrintfFormat.java % javac bb3.java % javac app.java 7) Analyze your trace file and object dump file: cat trace.out.gz | gunzip | java bb3 firefox.objdump > firefox.pc 8) Run the visualization utility: java app firefox.pc firefox.gif