changeset 23196 | 7fb201976e8b |
parent 22234 | da823d78ad65 |
child 37248 | 11a660dbbb8e |
--- a/hotspot/src/share/vm/shark/sharkInliner.cpp Tue Mar 04 17:14:00 2014 +0100 +++ b/hotspot/src/share/vm/shark/sharkInliner.cpp Tue Mar 04 18:52:06 2014 -0800 @@ -744,6 +744,10 @@ } bool SharkInliner::attempt_inline(ciMethod *target, SharkState *state) { + if (!Inline) { + return false; + } + if (SharkIntrinsics::is_intrinsic(target)) { SharkIntrinsics::inline_intrinsic(target, state); return true;