From 272fd753b1d8fb5f6258c3eca3d1a62bd1392c97 Mon Sep 17 00:00:00 2001 From: never Date: Fri, 25 Mar 2011 11:29:30 -0700 Subject: [PATCH] 7025708: Assertion if using "-XX:+CITraceTypeFlow -XX:+Verbose" together Reviewed-by: never Contributed-by: volker.simonis@gmail.com --- src/share/vm/ci/ciTypeFlow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/share/vm/ci/ciTypeFlow.cpp b/src/share/vm/ci/ciTypeFlow.cpp index 5986df0ab..a5042d967 100644 --- a/src/share/vm/ci/ciTypeFlow.cpp +++ b/src/share/vm/ci/ciTypeFlow.cpp @@ -1871,7 +1871,8 @@ void ciTypeFlow::Block::print_value_on(outputStream* st) const { // ------------------------------------------------------------------ // 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(" ==================================================== "); -- GitLab