6923002: assert(false,"this call site should not be polymorphic")

Clear the total count when a receiver information is cleared.

Reviewed-by: never, jrose
This commit is contained in:
Vladimir Kozlov 2010-02-07 12:15:06 -08:00
parent c1be36be1b
commit 2fd8d35905
11 changed files with 54 additions and 22 deletions

View file

@ -445,7 +445,8 @@ ciCallProfile ciMethod::call_profile_at_bci(int bci) {
(morphism == ciCallProfile::MorphismLimit && count == 0)) {
#ifdef ASSERT
if (count > 0) {
tty->print_cr("bci: %d", bci);
this->print_short_name(tty);
tty->print_cr(" @ bci:%d", bci);
this->print_codes();
assert(false, "this call site should not be polymorphic");
}