--- old/src/share/vm/opto/macro.cpp 2015-03-17 10:09:05.011060230 +0100 +++ new/src/share/vm/opto/macro.cpp 2015-03-17 10:09:04.653997758 +0100 @@ -2535,7 +2535,7 @@ (bol->_test._test == BoolTest::ne), ""); IfNode* ifn = bol->unique_out()->as_If(); assert((ifn->outcnt() == 2) && - ifn->proj_out(1)->is_uncommon_trap_proj(Deoptimization::Reason_rtm_state_change), ""); + ifn->proj_out(1)->is_uncommon_trap_proj(Deoptimization::Reason_rtm_state_change) != NULL, ""); #endif Node* repl = n->in(1); if (!_has_locks) {