7025708: Assertion if using "-XX:+CITraceTypeFlow -XX:+Verbose" together
Reviewed-by: never
Contributed-by: volker.simonis@gmail.com
--- a/hotspot/src/share/vm/ci/ciTypeFlow.cpp Thu Mar 24 23:04:40 2011 -0700
+++ b/hotspot/src/share/vm/ci/ciTypeFlow.cpp Fri Mar 25 11:29:30 2011 -0700
@@ -1871,7 +1871,8 @@
// ------------------------------------------------------------------
// ciTypeFlow::Block::print_on
void ciTypeFlow::Block::print_on(outputStream* st) const {
- if ((Verbose || WizardMode)) {
+ if ((Verbose || WizardMode) && (limit() >= 0)) {
+ // Don't print 'dummy' blocks (i.e. blocks with limit() '-1')
outer()->method()->print_codes_on(start(), limit(), st);
}
st->print_cr(" ==================================================== ");