< prev index next >

src/share/vm/opto/matcher.cpp

Print this page
rev 10293 : 8150720: Cleanup code around PrintOptoStatistics
Reviewed-by: kvn, shade, vlivanov

*** 2413,2424 **** --- 2413,2426 ---- if (ct == TypePtr::NULL_PTR || (opc == Op_CmpN && ct == TypeNarrowOop::NULL_PTR)) { bool push_it = false; if( proj->Opcode() == Op_IfTrue ) { + #ifndef PRODUCT extern int all_null_checks_found; all_null_checks_found++; + #endif if( b->_test._test == BoolTest::ne ) { push_it = true; } } else { assert( proj->Opcode() == Op_IfFalse, "" );
< prev index next >