# HG changeset patch # User Christian Haeubl # Date 1364308520 -3600 # Node ID 9f9aaa65294ee985745a13109a2e00837b9d0928 # Parent 056966f39a3694e7605279600c13b376a8155c25 fixed -XX:+PrintDeoptimizationDetails in debug/fastdebug build diff -r 056966f39a36 -r 9f9aaa65294e src/share/vm/runtime/deoptimization.cpp --- a/src/share/vm/runtime/deoptimization.cpp Tue Mar 26 14:35:32 2013 +0100 +++ b/src/share/vm/runtime/deoptimization.cpp Tue Mar 26 15:35:20 2013 +0100 @@ -212,10 +212,14 @@ nmethod* nm = (nmethod*) deoptee.cb(); GraalCompiler* compiler = (GraalCompiler*) nm->compiler(); for (jlong* p = nm->leaf_graph_ids_begin(); p != nm->leaf_graph_ids_end(); p++) { - if (PrintDeoptimizationDetails) { - tty->print_cr("leaf graph id: %d", *p); + compiler->deopt_leaf_graph(*p); + } + if (PrintDeoptimizationDetails) { + tty->print("leaf graph ids: "); + for (jlong* p = nm->leaf_graph_ids_begin(); p != nm->leaf_graph_ids_end(); p++) { + tty->print("%d ", *p); } - compiler->deopt_leaf_graph(*p); + tty->cr(); } #endif diff -r 056966f39a36 -r 9f9aaa65294e src/share/vm/runtime/vframeArray.cpp --- a/src/share/vm/runtime/vframeArray.cpp Tue Mar 26 14:35:32 2013 +0100 +++ b/src/share/vm/runtime/vframeArray.cpp Tue Mar 26 15:35:20 2013 +0100 @@ -426,9 +426,6 @@ ttyLocker ttyl; tty->print_cr("[%d Interpreted Frame]", ++unpack_counter); iframe()->print_on(tty); - RegisterMap map(thread); - vframe* f = vframe::new_vframe(iframe(), &map, thread); - f->print(); tty->print_cr("locals size %d", locals()->size()); tty->print_cr("expression size %d", expressions()->size());