1.1 --- a/src/share/vm/opto/bytecodeInfo.cpp Wed Sep 17 08:29:17 2008 -0700 1.2 +++ b/src/share/vm/opto/bytecodeInfo.cpp Wed Sep 17 12:59:52 2008 -0700 1.3 @@ -25,19 +25,6 @@ 1.4 #include "incls/_precompiled.incl" 1.5 #include "incls/_bytecodeInfo.cpp.incl" 1.6 1.7 -// These variables are declared in parse1.cpp 1.8 -extern int explicit_null_checks_inserted; 1.9 -extern int explicit_null_checks_elided; 1.10 -extern int explicit_null_checks_inserted_old; 1.11 -extern int explicit_null_checks_elided_old; 1.12 -extern int nodes_created_old; 1.13 -extern int nodes_created; 1.14 -extern int methods_parsed_old; 1.15 -extern int methods_parsed; 1.16 -extern int methods_seen; 1.17 -extern int methods_seen_old; 1.18 - 1.19 - 1.20 //============================================================================= 1.21 //------------------------------InlineTree------------------------------------- 1.22 InlineTree::InlineTree( Compile* c, const InlineTree *caller_tree, ciMethod* callee, JVMState* caller_jvms, int caller_bci, float site_invoke_ratio ) 1.23 @@ -517,27 +504,3 @@ 1.24 } 1.25 return iltp; 1.26 } 1.27 - 1.28 -// ---------------------------------------------------------------------------- 1.29 -#ifndef PRODUCT 1.30 - 1.31 -static void per_method_stats() { 1.32 - // Compute difference between this method's cumulative totals and old totals 1.33 - int explicit_null_checks_cur = explicit_null_checks_inserted - explicit_null_checks_inserted_old; 1.34 - int elided_null_checks_cur = explicit_null_checks_elided - explicit_null_checks_elided_old; 1.35 - 1.36 - // Print differences 1.37 - if( explicit_null_checks_cur ) 1.38 - tty->print_cr("XXX Explicit NULL checks inserted: %d", explicit_null_checks_cur); 1.39 - if( elided_null_checks_cur ) 1.40 - tty->print_cr("XXX Explicit NULL checks removed at parse time: %d", elided_null_checks_cur); 1.41 - 1.42 - // Store the current cumulative totals 1.43 - nodes_created_old = nodes_created; 1.44 - methods_parsed_old = methods_parsed; 1.45 - methods_seen_old = methods_seen; 1.46 - explicit_null_checks_inserted_old = explicit_null_checks_inserted; 1.47 - explicit_null_checks_elided_old = explicit_null_checks_elided; 1.48 -} 1.49 - 1.50 -#endif