Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/deoptimization.cpp @ 8609:9f9aaa65294e
fixed -XX:+PrintDeoptimizationDetails in debug/fastdebug build
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Tue, 26 Mar 2013 15:35:20 +0100 |
parents | 6b6cbd8b8914 |
children | b9a918201d47 |
comparison
equal
deleted
inserted
replaced
8608:056966f39a36 | 8609:9f9aaa65294e |
---|---|
210 | 210 |
211 #ifdef GRAAL | 211 #ifdef GRAAL |
212 nmethod* nm = (nmethod*) deoptee.cb(); | 212 nmethod* nm = (nmethod*) deoptee.cb(); |
213 GraalCompiler* compiler = (GraalCompiler*) nm->compiler(); | 213 GraalCompiler* compiler = (GraalCompiler*) nm->compiler(); |
214 for (jlong* p = nm->leaf_graph_ids_begin(); p != nm->leaf_graph_ids_end(); p++) { | 214 for (jlong* p = nm->leaf_graph_ids_begin(); p != nm->leaf_graph_ids_end(); p++) { |
215 if (PrintDeoptimizationDetails) { | |
216 tty->print_cr("leaf graph id: %d", *p); | |
217 } | |
218 compiler->deopt_leaf_graph(*p); | 215 compiler->deopt_leaf_graph(*p); |
216 } | |
217 if (PrintDeoptimizationDetails) { | |
218 tty->print("leaf graph ids: "); | |
219 for (jlong* p = nm->leaf_graph_ids_begin(); p != nm->leaf_graph_ids_end(); p++) { | |
220 tty->print("%d ", *p); | |
221 } | |
222 tty->cr(); | |
219 } | 223 } |
220 #endif | 224 #endif |
221 | 225 |
222 GrowableArray<compiledVFrame*>* chunk = new GrowableArray<compiledVFrame*>(10); | 226 GrowableArray<compiledVFrame*>* chunk = new GrowableArray<compiledVFrame*>(10); |
223 vframe* vf = vframe::new_vframe(&deoptee, &map, thread); | 227 vframe* vf = vframe::new_vframe(&deoptee, &map, thread); |