src/share/vm/opto/loopUnswitch.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8058148 Cdiff src/share/vm/opto/loopUnswitch.cpp

src/share/vm/opto/loopUnswitch.cpp

Print this page

        

*** 57,68 **** return false; } if (!_head->is_Loop()) { return false; } ! uint nodes_left = MaxNodeLimit - phase->C->live_nodes(); ! if (2 * _body.size() > nodes_left) { return false; // Too speculative if running low on nodes. } LoopNode* head = _head->as_Loop(); if (head->unswitch_count() + 1 > head->unswitch_max()) { return false; --- 57,68 ---- return false; } if (!_head->is_Loop()) { return false; } ! 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(); if (head->unswitch_count() + 1 > head->unswitch_max()) { return false;
src/share/vm/opto/loopUnswitch.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File