--- old/src/share/vm/opto/output.cpp 2014-05-05 12:29:56.715650000 -0700 +++ new/src/share/vm/opto/output.cpp 2014-05-05 12:29:55.604929000 -0700 @@ -366,8 +366,8 @@ // third inserts nops where needed. // Step one, perform a pessimistic sizing pass. - uint last_call_adr = max_uint; - uint last_avoid_back_to_back_adr = max_uint; + uint last_call_adr = (uint) -1; + uint last_avoid_back_to_back_adr = (uint) -1; uint nop_size = (new (this) MachNopNode())->size(_regalloc); for (uint i = 0; i < nblocks; i++) { // For all blocks Block* block = _cfg->get_block(i); @@ -479,7 +479,7 @@ // Step two, replace eligible long jumps. bool progress = true; - uint last_may_be_short_branch_adr = max_uint; + uint last_may_be_short_branch_adr = (uint) -1; while (has_short_branch_candidate && progress) { progress = false; has_short_branch_candidate = false;