--- old/src/hotspot/share/opto/bytecodeInfo.cpp 2019-05-22 11:37:30.872021737 +0800 +++ new/src/hotspot/share/opto/bytecodeInfo.cpp 2019-05-22 11:37:28.680020218 +0800 @@ -334,8 +334,8 @@ 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");