To allow some special cases when dumping debug information about IR nodes, _in_dump_cnt can be increased. Unfortunately this is a global field. If running with more than one compiler thread races can happen. As consequence, dumping crashes e.g. in MachProjNode::adr_type(). This change moves the field to the Compile object. It also introduces the compiler oracle 'option' feature for PrintAssembly. --------------------------------- This is preparation for PPC64 integration: http://openjdk.java.net/jeps/175 This and following ppc64 changes will go into staging repository first and tested there: http://hg.openjdk.java.net/ppc-aix-port/stage/ http://hg.openjdk.java.net/ppc-aix-port/jdk8/hotspot/file/338e318f1e12/ppc_patches/0203_opto-Move_static_in_dump_cnt_to_Compile_object.patch