hotspot/src/share/vm/opto/lcm.cpp
changeset 36336 7006dd73b206
parent 35539 9a687b686976
child 40086 82b9d0ae29b7
--- a/hotspot/src/share/vm/opto/lcm.cpp	Mon Feb 29 13:02:10 2016 +0100
+++ b/hotspot/src/share/vm/opto/lcm.cpp	Mon Feb 29 15:05:45 2016 +0100
@@ -348,8 +348,10 @@
   }
 
   // ---- Found an implicit null check
+#ifndef PRODUCT
   extern int implicit_null_checks;
   implicit_null_checks++;
+#endif
 
   if( is_decoden ) {
     // Check if we need to hoist decodeHeapOop_not_null first.