< prev index next >

src/hotspot/share/opto/bytecodeInfo.cpp

Print this page

        

@@ -332,12 +332,12 @@
     return true; // callee was never executed
   }
   if (caller_method->is_not_reached(caller_bci)) {
     return true; // call site not resolved
   }
-  if (profile.count() == -1) {
-    return false; // immature profile; optimistically treat as reached
+  if (profile.count() <= -1) {
+    return false; // immature or overflowed profile; optimistically treat as reached
   }
   assert(profile.count() == 0, "sanity");
 
   // Profile info is scarce.
   // Try to guess: check if the call site belongs to a start block.
< prev index next >