comparison src/share/vm/opto/graphKit.hpp @ 22985:eb8b5cc64669

8063137: Never-taken branches should be pruned when GWT LambdaForms are shared Reviewed-by: jrose, kvn
author vlivanov
date Thu, 29 Jan 2015 10:25:59 -0800
parents 411e30e5fbb8
children c1c199dde5c9
comparison
equal deleted inserted replaced
22984:c97ba20ad404 22985:eb8b5cc64669
706 bool must_throw = false, bool keep_exact_action = false) { 706 bool must_throw = false, bool keep_exact_action = false) {
707 uncommon_trap(Deoptimization::make_trap_request(reason, action), 707 uncommon_trap(Deoptimization::make_trap_request(reason, action),
708 klass, reason_string, must_throw, keep_exact_action); 708 klass, reason_string, must_throw, keep_exact_action);
709 } 709 }
710 710
711 // Bail out to the interpreter and keep exact action (avoid switching to Action_none).
712 void uncommon_trap_exact(Deoptimization::DeoptReason reason,
713 Deoptimization::DeoptAction action,
714 ciKlass* klass = NULL, const char* reason_string = NULL,
715 bool must_throw = false) {
716 uncommon_trap(Deoptimization::make_trap_request(reason, action),
717 klass, reason_string, must_throw, /*keep_exact_action=*/true);
718 }
719
711 // SP when bytecode needs to be reexecuted. 720 // SP when bytecode needs to be reexecuted.
712 virtual int reexecute_sp() { return sp(); } 721 virtual int reexecute_sp() { return sp(); }
713 722
714 // Report if there were too many traps at the current method and bci. 723 // Report if there were too many traps at the current method and bci.
715 // Report if a trap was recorded, and/or PerMethodTrapLimit was exceeded. 724 // Report if a trap was recorded, and/or PerMethodTrapLimit was exceeded.