--- old/src/share/vm/opto/ifnode.cpp 2014-05-14 16:33:38.000000000 -0700 +++ new/src/share/vm/opto/ifnode.cpp 2014-05-14 16:33:38.000000000 -0700 @@ -673,7 +673,7 @@ // / Region // Node* IfNode::fold_compares(PhaseGVN* phase) { - if (!phase->C->eliminate_boxing() || Opcode() != Op_If) return NULL; + if (Opcode() != Op_If) return NULL; Node* this_cmp = in(1)->in(1); if (this_cmp != NULL && this_cmp->Opcode() == Op_CmpI &&