src/share/vm/opto/parse2.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/opto

src/share/vm/opto/parse2.cpp

Print this page
rev 9032 : 8137167: JEP165: Compiler Control: Implementation task
Summary: Compiler Control JEP
Reviewed-by: roland, twisti


2361 
2362   case Bytecodes::_monitorexit:
2363     do_monitor_exit();
2364     break;
2365 
2366   case Bytecodes::_breakpoint:
2367     // Breakpoint set concurrently to compile
2368     // %%% use an uncommon trap?
2369     C->record_failure("breakpoint in method");
2370     return;
2371 
2372   default:
2373 #ifndef PRODUCT
2374     map()->dump(99);
2375 #endif
2376     tty->print("\nUnhandled bytecode %s\n", Bytecodes::name(bc()) );
2377     ShouldNotReachHere();
2378   }
2379 
2380 #ifndef PRODUCT
2381   IdealGraphPrinter *printer = IdealGraphPrinter::printer();
2382   if (printer && printer->should_print(_method)) {
2383     char buffer[256];
2384     sprintf(buffer, "Bytecode %d: %s", bci(), Bytecodes::name(bc()));
2385     bool old = printer->traverse_outs();
2386     printer->set_traverse_outs(true);
2387     printer->print_method(C, buffer, 4);
2388     printer->set_traverse_outs(old);
2389   }
2390 #endif
2391 }


2361 
2362   case Bytecodes::_monitorexit:
2363     do_monitor_exit();
2364     break;
2365 
2366   case Bytecodes::_breakpoint:
2367     // Breakpoint set concurrently to compile
2368     // %%% use an uncommon trap?
2369     C->record_failure("breakpoint in method");
2370     return;
2371 
2372   default:
2373 #ifndef PRODUCT
2374     map()->dump(99);
2375 #endif
2376     tty->print("\nUnhandled bytecode %s\n", Bytecodes::name(bc()) );
2377     ShouldNotReachHere();
2378   }
2379 
2380 #ifndef PRODUCT
2381   IdealGraphPrinter *printer = C->printer();
2382   if (printer && printer->should_print(1)) {
2383     char buffer[256];
2384     sprintf(buffer, "Bytecode %d: %s", bci(), Bytecodes::name(bc()));
2385     bool old = printer->traverse_outs();
2386     printer->set_traverse_outs(true);
2387     printer->print_method(buffer, 4);
2388     printer->set_traverse_outs(old);
2389   }
2390 #endif
2391 }
src/share/vm/opto/parse2.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File