2241 bool cut_short = false; 2242 tty->print_cr("#"); 2243 tty->print("# "); _tf->dump(); tty->cr(); 2244 tty->print_cr("#"); 2245 2246 // For all blocks 2247 int pc = 0x0; // Program counter 2248 char starts_bundle = ' '; 2249 _regalloc->dump_frame(); 2250 2251 Node *n = NULL; 2252 for (uint i = 0; i < _cfg->number_of_blocks(); i++) { 2253 if (VMThread::should_terminate()) { 2254 cut_short = true; 2255 break; 2256 } 2257 Block* block = _cfg->get_block(i); 2258 if (block->is_connector() && !Verbose) { 2259 continue; 2260 } 2261 n = block->_nodes[0]; 2262 if (pcs && n->_idx < pc_limit) { 2263 tty->print("%3.3x ", pcs[n->_idx]); 2264 } else { 2265 tty->print(" "); 2266 } 2267 block->dump_head(_cfg); 2268 if (block->is_connector()) { 2269 tty->print_cr(" # Empty connector block"); 2270 } else if (block->num_preds() == 2 && block->pred(1)->is_CatchProj() && block->pred(1)->as_CatchProj()->_con == CatchProjNode::fall_through_index) { 2271 tty->print_cr(" # Block is sole successor of call"); 2272 } 2273 2274 // For all instructions 2275 Node *delay = NULL; 2276 for (uint j = 0; j < block->_nodes.size(); j++) { 2277 if (VMThread::should_terminate()) { 2278 cut_short = true; 2279 break; 2280 } 2281 n = block->_nodes[j]; 2282 if (valid_bundle_info(n)) { 2283 Bundle* bundle = node_bundling(n); 2284 if (bundle->used_in_unconditional_delay()) { 2285 delay = n; 2286 continue; 2287 } 2288 if (bundle->starts_bundle()) { 2289 starts_bundle = '+'; 2290 } 2291 } 2292 2293 if (WizardMode) { 2294 n->dump(); 2295 } 2296 2297 if( !n->is_Region() && // Dont print in the Assembly 2298 !n->is_Phi() && // a few noisely useless nodes 2299 !n->is_Proj() && 2300 !n->is_MachTemp() && 2301 !n->is_SafePointScalarObject() && | 2241 bool cut_short = false; 2242 tty->print_cr("#"); 2243 tty->print("# "); _tf->dump(); tty->cr(); 2244 tty->print_cr("#"); 2245 2246 // For all blocks 2247 int pc = 0x0; // Program counter 2248 char starts_bundle = ' '; 2249 _regalloc->dump_frame(); 2250 2251 Node *n = NULL; 2252 for (uint i = 0; i < _cfg->number_of_blocks(); i++) { 2253 if (VMThread::should_terminate()) { 2254 cut_short = true; 2255 break; 2256 } 2257 Block* block = _cfg->get_block(i); 2258 if (block->is_connector() && !Verbose) { 2259 continue; 2260 } 2261 n = block->head(); 2262 if (pcs && n->_idx < pc_limit) { 2263 tty->print("%3.3x ", pcs[n->_idx]); 2264 } else { 2265 tty->print(" "); 2266 } 2267 block->dump_head(_cfg); 2268 if (block->is_connector()) { 2269 tty->print_cr(" # Empty connector block"); 2270 } else if (block->num_preds() == 2 && block->pred(1)->is_CatchProj() && block->pred(1)->as_CatchProj()->_con == CatchProjNode::fall_through_index) { 2271 tty->print_cr(" # Block is sole successor of call"); 2272 } 2273 2274 // For all instructions 2275 Node *delay = NULL; 2276 for (uint j = 0; j < block->number_of_nodes(); j++) { 2277 if (VMThread::should_terminate()) { 2278 cut_short = true; 2279 break; 2280 } 2281 n = block->get_node(j); 2282 if (valid_bundle_info(n)) { 2283 Bundle* bundle = node_bundling(n); 2284 if (bundle->used_in_unconditional_delay()) { 2285 delay = n; 2286 continue; 2287 } 2288 if (bundle->starts_bundle()) { 2289 starts_bundle = '+'; 2290 } 2291 } 2292 2293 if (WizardMode) { 2294 n->dump(); 2295 } 2296 2297 if( !n->is_Region() && // Dont print in the Assembly 2298 !n->is_Phi() && // a few noisely useless nodes 2299 !n->is_Proj() && 2300 !n->is_MachTemp() && 2301 !n->is_SafePointScalarObject() && |