comparison src/share/vm/opto/graphKit.hpp @ 17728:b8413a9cbb84

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 55fb97c4c58d
children 9ab9f254cfe2
comparison
equal deleted inserted replaced
17727:cfd4aac53239 17728:b8413a9cbb84
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,