Mercurial > hg > truffle
comparison src/share/vm/ci/ciMethod.cpp @ 1251:576e77447e3c
6923002: assert(false,"this call site should not be polymorphic")
Summary: Clear the total count when a receiver information is cleared.
Reviewed-by: never, jrose
author | kvn |
---|---|
date | Sun, 07 Feb 2010 12:15:06 -0800 |
parents | 87684f1a88b5 |
children | c18cbe5936b8 61b2245abf36 |
comparison
equal
deleted
inserted
replaced
1250:3f5b7efb9642 | 1251:576e77447e3c |
---|---|
443 // The morphism <= MorphismLimit. | 443 // The morphism <= MorphismLimit. |
444 if ((morphism < ciCallProfile::MorphismLimit) || | 444 if ((morphism < ciCallProfile::MorphismLimit) || |
445 (morphism == ciCallProfile::MorphismLimit && count == 0)) { | 445 (morphism == ciCallProfile::MorphismLimit && count == 0)) { |
446 #ifdef ASSERT | 446 #ifdef ASSERT |
447 if (count > 0) { | 447 if (count > 0) { |
448 tty->print_cr("bci: %d", bci); | 448 this->print_short_name(tty); |
449 tty->print_cr(" @ bci:%d", bci); | |
449 this->print_codes(); | 450 this->print_codes(); |
450 assert(false, "this call site should not be polymorphic"); | 451 assert(false, "this call site should not be polymorphic"); |
451 } | 452 } |
452 #endif | 453 #endif |
453 result._morphism = morphism; | 454 result._morphism = morphism; |