comparison hotspot/src/share/vm/opto/graphKit.hpp @ 22916:582da2ed4dfa

8031752: Failed speculative optimizations should be reattempted when root of compilation is different Summary: support for speculative traps that keep track of the root of the compilation in which a trap occurs. Reviewed-by: kvn, twisti
author roland
date Tue, 25 Feb 2014 18:16:24 +0100
parents b6902ee5bc8d
children f222fac90da2
comparison
equal deleted inserted replaced
34:9ab3714e19d9 35:32a1ffa69325
404 void record_profiled_parameters_for_speculation(); 404 void record_profiled_parameters_for_speculation();
405 405
406 // Use the type profile to narrow an object type. 406 // Use the type profile to narrow an object type.
407 Node* maybe_cast_profiled_receiver(Node* not_null_obj, 407 Node* maybe_cast_profiled_receiver(Node* not_null_obj,
408 ciKlass* require_klass, 408 ciKlass* require_klass,
409 ciKlass* spec, 409 ciKlass* spec,
410 bool safe_for_replace); 410 bool safe_for_replace);
411 411
412 // Cast obj to type and emit guard unless we had too many traps here already 412 // Cast obj to type and emit guard unless we had too many traps here already
413 Node* maybe_cast_profiled_obj(Node* obj, 413 Node* maybe_cast_profiled_obj(Node* obj,
414 ciKlass* type, 414 ciKlass* type,