1.1 --- a/src/share/vm/opto/graphKit.hpp Tue Apr 28 00:37:33 2015 -0700 1.2 +++ b/src/share/vm/opto/graphKit.hpp Thu Jan 29 10:25:59 2015 -0800 1.3 @@ -708,6 +708,15 @@ 1.4 klass, reason_string, must_throw, keep_exact_action); 1.5 } 1.6 1.7 + // Bail out to the interpreter and keep exact action (avoid switching to Action_none). 1.8 + void uncommon_trap_exact(Deoptimization::DeoptReason reason, 1.9 + Deoptimization::DeoptAction action, 1.10 + ciKlass* klass = NULL, const char* reason_string = NULL, 1.11 + bool must_throw = false) { 1.12 + uncommon_trap(Deoptimization::make_trap_request(reason, action), 1.13 + klass, reason_string, must_throw, /*keep_exact_action=*/true); 1.14 + } 1.15 + 1.16 // SP when bytecode needs to be reexecuted. 1.17 virtual int reexecute_sp() { return sp(); } 1.18