I installed fastdebug build of JDK 6, and ran this command:
java -XX:+PrintCFGToFile Test
but no file with printed information found... I tried it on both Linux and Windows operational systems, without any success. After giving up I built JDK from sources (OpenJDK 7 sources, Ubuntu), but no success, again the same, it prints "VM option '+PrintCFGToFile'"
but no file created in the directory with class executed, nor in JDK bin directory... I looked for "output.cfg" on the file system, nothing found... I checked sources, and it seems that file really has name "output.cfg" (if I'm not wrong it is CFGPrinter)
What's wrong? Should any additional option be specified? How and where to get this file with control flow graph information?