--- old/src/share/vm/opto/subnode.hpp 2014-08-05 09:48:32.193203956 +0200 +++ new/src/share/vm/opto/subnode.hpp 2014-08-05 09:48:32.101203960 +0200 @@ -286,6 +286,10 @@ virtual uint hash() const; virtual uint cmp( const Node &n ) const; virtual uint size_of() const; + + // Try to optimize signed integer comparison + Node* fold_cmpI(PhaseGVN* phase, Node* cmp, Node* cmp1, Node* cmp2, + int cmp_op, int cmp1_op, const TypeInt* cmp2_type); public: const BoolTest _test; BoolNode( Node *cc, BoolTest::mask t): _test(t), Node(0,cc) {