src/share/vm/code/dependencies.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/code/dependencies.cpp	Fri Sep 19 16:06:44 2014
--- new/src/share/vm/code/dependencies.cpp	Fri Sep 19 16:06:44 2014

*** 565,580 **** --- 565,584 ---- what = "class "; } else { what = "object "; } tty->print(" %s = %s", what, (put_star? "*": "")); ! if (arg.is_klass()) { tty->print("%s", ((Klass*)arg.metadata_value())->external_name()); else if (arg.is_method()) + } else if (arg.is_method()) { ((Method*)arg.metadata_value())->print_value(); else + } else if (arg.is_oop()) { + arg.oop_value()->print_value_on(tty); + } else { ShouldNotReachHere(); // Provide impl for this type. + } + tty->cr(); } if (witness != NULL) { bool put_star = !Dependencies::is_concrete_klass(witness); tty->print_cr(" witness = %s%s",
*** 607,618 **** --- 611,626 ---- void Dependencies::DepStream::print_dependency(Klass* witness, bool verbose) { ResourceMark rm; int nargs = argument_count(); GrowableArray<DepArgument>* args = new GrowableArray<DepArgument>(nargs); for (int j = 0; j < nargs; j++) { + if (type() == call_site_target_value) { + args->push(argument_oop(j)); + } else { args->push(argument(j)); } + } int argslen = args->length(); Dependencies::print_dependency(type(), args, witness); if (verbose) { if (_code != NULL) { tty->print(" code: ");

src/share/vm/code/dependencies.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File