--- old/src/share/vm/opto/loopUnswitch.cpp 2014-11-18 12:35:19.736718439 -0800 +++ new/src/share/vm/opto/loopUnswitch.cpp 2014-11-18 12:35:19.170714941 -0800 @@ -59,8 +59,8 @@ if (!_head->is_Loop()) { return false; } - uint nodes_left = MaxNodeLimit - phase->C->live_nodes(); - if (2 * _body.size() > nodes_left) { + int nodes_left = phase->C->max_node_limit() - phase->C->live_nodes(); + if ((int)(2 * _body.size()) > nodes_left) { return false; // Too speculative if running low on nodes. } LoopNode* head = _head->as_Loop();